@Configuration如何使用
使用這個注解,如何獲取spring IOC容器的實例對象
ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
使用這個加載,報錯。
CGLIB is required to process @Configuration classes. Either add CGLIB to the classpath or remove the following @Configuration bean definitions: [myConfig]
2018-11-29
<?xml version="1.0" encoding="UTF-8"?>
<beans></beans>相當于這個
2017-11-29
是不是xml文件中沒有寫<context:component-scan>這個
2017-09-05
http://blog.csdn.net/vvhesj/article/details/47661001