Announcement Announcement Module
Collapse
No announcement yet.
LTW exception trying to implement familiar PerformanceAdvice Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • LTW exception trying to implement familiar PerformanceAdvice

    I am using following software and their versions. Can anyone suggest what is wrong with my configuration?
    Pom config for javaagent.
    Code:
                 <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.4</version>
                    <configuration>
                        <forkMode>once</forkMode>
                    
     					<argLine>-javaagent:"${settings.localRepository}/org/springframework/spring-instrument/3.1.0.BUILD-SNAPSHOT/spring-instrument-3.1.0.BUILD-SNAPSHOT.jar"</argLine>
                        <useSystemClassloader>true</useSystemClassloader>
                    </configuration>
                </plugin>
    <properties>
    <java-version>1.6</java-version>
    <org.springframework-version>3.1.0.BUILD-SNAPSHOT</org.springframework-version>
    <org.springframework.security-version>3.1.0.CI-SNAPSHOT</org.springframework.security-version>
    <org.springframework.integration-version>2.0.4.RELEASE</org.springframework.integration-version>
    <org.springframework.social-version>1.0.0.BUILD-SNAPSHOT</org.springframework.social-version>
    <org.aspectj-version>1.6.11</org.aspectj-version>
    <org.slf4j-version>1.6.1</org.slf4j-version>
    </properties>

    Code:
    [TomcatWeavingInsightClassLoader@15b44d6] error at org\springframework\web\servlet\view\AbstractCachingViewResolver.java::0 class 'org.springframework.web.servlet.view.AbstractCachingViewResolver' is already woven and has not been built in reweavable mode
    Jul 10, 2011 3:52:49 PM org.aspectj.weaver.tools.Jdk14Trace error
    SEVERE: com/***/***/web/pages/PagesController
    java.lang.RuntimeException: Problem processing attributes in com.***.***.web.pages.PagesController
    	at org.aspectj.weaver.bcel.BcelObjectType.ensureAspectJAttributesUnpacked(BcelObjectType.java:385)
    	at org.aspectj.weaver.bcel.BcelObjectType.<init>(BcelObjectType.java:162)
    	at org.aspectj.weaver.bcel.BcelWorld.buildBcelDelegate(BcelWorld.java:394)
    	at org.aspectj.weaver.bcel.BcelWorld.addSourceObjectType(BcelWorld.java:528)
    	at org.aspectj.weaver.tools.WeavingAdaptor.ensureDelegateInitialized(WeavingAdaptor.java:453)
    ......
    ......
    org.aspectj.weaver.bcel.BcelObjectType.ensureAspectJAttributesUnpacked(BcelObjectType.java:381)
    	... 64 more
    Jul 10, 2011 3:52:49 PM org.aspectj.weaver.tools.Jdk14Trace info
    INFO: Dumping to C:\Program Files\springsource\sts-2.7.0.RELEASE\.\ajcore.20110710.155249.523.txt
    Jul 10, 2011 3:52:50 PM org.aspectj.weaver.tools.Jdk14Trace error
    SEVERE: com/***/***/perfmon/PerformanceAdvice
    java.lang.RuntimeException: Problem processing attributes in com.***.***.perfmon.PerformanceAdvice
    	at org.aspectj.weaver.bcel.BcelObjectType.ensureAspectJAttributesUnpacked(BcelObjectType.java:385)
    	at org.aspectj.weaver.bcel.BcelObjectType.<init>(BcelObjectType.java:162)
    	at org.aspectj.weaver.bcel.BcelWorld.buildBcelDelegate(BcelWorld.java:394)
    	at org.aspectj.weaver.bcel.BcelWorld.addSourceObjectType(BcelWorld.java:528)
    	at org.aspectj.weaver.tools.WeavingAdaptor.ensureDelegateInitialized(WeavingAdaptor.java:453)
    	at org.aspectj.weaver.tools.WeavingAdaptor$WeavingClassFileProvider.<init>(WeavingAdaptor.java:783)
    	at 
    	... 80 more
    Jul 10, 2011 3:52:50 PM org.aspectj.weaver.tools.Jdk14Trace info
    INFO: Dumping to C:\Program Files\springsource\sts-2.7.0.RELEASE\.\ajcore.20110710.155250.039.txt
    Last edited by srikondoji; Jul 10th, 2011, 06:18 PM.
Working...
X