Announcement Announcement Module
Collapse
No announcement yet.
AspectJ weaver version error, running Roo 1.1.2, STS 2.5.2 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AspectJ weaver version error, running Roo 1.1.2, STS 2.5.2

    Hi,
    I see the following error at startup, but not sure how to address it.

    My application seems to run fine but, I really like to get it eliminated.



    [TomcatAspectJWeavingClassLoader@6dabbec4] warning register definition failed -- (RuntimeException) Problem processing attributes in gov.census.datamanager.web.ApplicationConversionSe rviceFactoryBean_Roo_ConversionService
    Problem processing attributes in gov.census.datamanager.web.ApplicationConversionSe rviceFactoryBean_Roo_ConversionService
    java.lang.RuntimeException: Problem processing attributes in gov.census.datamanager.web.ApplicationConversionSe rviceFactoryBean_Roo_ConversionService
    at org.aspectj.weaver.bcel.BcelObjectType.ensureAspec tJAttributesUnpacked(BcelObjectType.java:381)
    at org.aspectj.weaver.bcel.BcelObjectType.<init>(Bcel ObjectType.java:159)
    at org.aspectj.weaver.bcel.BcelWorld.buildBcelDelegat e(BcelWorld.java:382)
    at org.aspectj.weaver.bcel.BcelWorld.resolveDelegate( BcelWorld.java:377)
    at org.aspectj.weaver.ltw.LTWWorld.resolveDelegate(LT WWorld.java:111)
    at org.aspectj.weaver.World.resolveToReferenceType(Wo rld.java:440)
    at org.aspectj.weaver.World.resolve(World.java:296)
    at org.aspectj.weaver.bcel.BcelWeaver.addLibraryAspec t(BcelWeaver.java:160)
    at org.aspectj.weaver.loadtime.ClassLoaderWeavingAdap tor.registerAspects(ClassLoaderWeavingAdaptor.java :460)
    at org.aspectj.weaver.loadtime.ClassLoaderWeavingAdap tor.registerDefinitions(ClassLoaderWeavingAdaptor. java:288)
    at org.aspectj.weaver.loadtime.ClassLoaderWeavingAdap tor.initialize(ClassLoaderWeavingAdaptor.java:174)
    at org.aspectj.weaver.loadtime.Aj$ExplicitlyInitializ edClassLoaderWeavingAdaptor.initialize(Aj.java:271 )
    at org.aspectj.weaver.loadtime.Aj$ExplicitlyInitializ edClassLoaderWeavingAdaptor.getWeavingAdaptor(Aj.j ava:276)
    at org.aspectj.weaver.loadtime.Aj$WeaverContainer.get Weaver(Aj.java:254)
    at org.aspectj.weaver.loadtime.Aj.preProcess(Aj.java: 90)
    at org.aspectj.weaver.loadtime.ClassPreProcessorAgent Adapter.transform(ClassPreProcessorAgentAdapter.ja va:54)
    at com.springsource.insight.collection.tcserver.ltw.T omcatAspectJWeavingClassLoader$LoggingClassFileTra nsformer.transform(TomcatAspectJWeavingClassLoader .java:120)
    at org.springframework.instrument.classloading.Weavin gTransformer.transformIfNecessary(WeavingTransform er.java:95)
    at org.springframework.instrument.classloading.Weavin gTransformer.transformIfNecessary(WeavingTransform er.java:78)
    at org.springframework.instrument.classloading.tomcat .TomcatInstrumentableClassLoader.findResourceInter nal(TomcatInstrumentableClassLoader.java:116)
    at org.apache.catalina.loader.WebappClassLoader.findC lassInternal(WebappClassLoader.java:1826)
    at org.apache.catalina.loader.WebappClassLoader.findC lass(WebappClassLoader.java:887)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1351)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1230)
    at org.apache.catalina.startup.WebAnnotationSet.loadC lassAnnotation(WebAnnotationSet.java:145)
    at org.apache.catalina.startup.WebAnnotationSet.loadA pplicationListenerAnnotations(WebAnnotationSet.jav a:73)
    at org.apache.catalina.startup.WebAnnotationSet.loadA pplicationAnnotations(WebAnnotationSet.java:56)
    at org.apache.catalina.startup.ContextConfig.applicat ionAnnotationsConfig(ContextConfig.java:297)
    at org.apache.catalina.startup.ContextConfig.start(Co ntextConfig.java:1068)
    at org.apache.catalina.startup.ContextConfig.lifecycl eEvent(ContextConfig.java:261)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4339)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:741)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:516)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:587)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:290)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:415)
    Caused by: org.aspectj.weaver.BCException: Unable to continue, this version of AspectJ supports classes built with weaver version 6.0 but the class gov.census.datamanager.web.ApplicationConversionSe rviceFactoryBean_Roo_ConversionService is version 7.0

    at org.aspectj.weaver.bcel.Utility.readAjAttributes(U tility.java:83)
    at org.aspectj.weaver.bcel.BcelObjectType.ensureAspec tJAttributesUnpacked(BcelObjectType.java:378)
    ... 44 more

  • #2
    Upgrading to the latest tc Server seems to have fixed it.

    Comment

    Working...
    X