Spring AopConfigException

Description:
org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
Spring is using cglib to create it's proxies, therefor you need to add the cglib jar to your classpath.


Solution: Add the following dependency to your pom.xml :
        
            cglib
            cglib
            2.2.2