Home  >  Forum  >  Spring
Post New Query

error with org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter


joined on
May 23,2013
Asked on August 14,2013
Hi need help for below error.

Exception in thread "main" java.lang.NoClassDefFoundError: org/aspectj/weaver/loadtime/ClassPreProcessorAgentAdapter
at org.springframework.context.weaving.AspectJWeavingEnabler.enableAspectJWeaving(AspectJWeavingEnabler.java:79)
at org.springframework.context.weaving.AspectJWeavingEnabler.postProcessBeanFactory(AspectJWeavingEnabler.java:66)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:664)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.concretepage.SpringAppDemo.main(SpringAppDemo.java:11)
Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more

joined on
March 14,2013
Replied on August 15,2013

Upload the below jar in your classpath.

aspectjweaver-1.5.4.jar

Write Answer



Sitewide-Feb4of4234x60





Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us