spring 3.0 @Configuration 时报错
CGLIB is required to process @Configuration classes.
spring 3 使用需要增加cglib 的依赖
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2.2</version>
</dependency>