首页 > 代码库 > main方法调用spring中dao service方法

main方法调用spring中dao service方法

	public static void main(String[] args) {		ApplicationContext context = new 				ClassPathXmlApplicationContext("ApplicationContext.xml");		System.out.println("aaa");//		ServiceReportService service = (ServiceReportService)context.getBean("serviceReportService");			}

  

main方法调用spring中dao service方法