Hello,
I have read tutorials Putting the Spring in Your Step and Getting Started with Spring ....
So i am trying to get examples work.
1. I'm using STS and created new project using Spring MVC Template (as usual pom.xml build file and Spring built-in server).
2. Added cglib-2.2.2.jar to build path (Referenced Libraries).
3. Created file CrmConfiguration.java and written inside:
4. Running server and getting exception:package cglib.is.bad;
import org.springframework.context.annotation.Configurati on;
@Configuration
public class CrmConfiguration {
}
What should i do to get @Configuration work?java.lang.IllegalStateException: CGLIB is required to process @Configuration classes. Either add CGLIB to the classpath or remove the following @Configuration bean definitions: [crmConfiguration]
...
Thank you for your answers!


Reply With Quote


