Community
Participate
Working Groups
Build ID: 3.4 Steps To Reproduce: 1. When enabling AspectJ rt Eclipse report this exception. I am using AspectJ 1.6.3 with AspectJrt 1.6.5 More information: java.lang.NoSuchMethodError at org.aspectj.ajdt.internal.core.builder.AjBuildManager.setupModel(AjBuildManager.java:735) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:238) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:179) at org.aspectj.ajde.core.internal.AjdeCoreBuildManager.performBuild(AjdeCoreBuildManager.java:105) at org.aspectj.ajde.core.AjCompi ... orker.run(Worker.java:55) Compile error: NoSuchMethodError thrown: org.aspectj.asm.AsmManager.createNewStructureModel()Lorg/aspectj/asm/AsmManager;
You indicated the component as AJBrowser - is that true? Are you using AJBrowser? The only reason for this exception to occur is a mismatch between versions at compile time. The runtime jar aspectjrt.jar will have no effect on this. It indicates a mismatch between the org.aspectj.ajde plugin and the org.aspectj.weaver plugin - but we never release a pair of those that don't work together. What version of AJDT are you using (precise datestamp). If you upgrade to the latest version for Eclipse 3.4 - does everything work for you? Are you doing anything that might interfere with the versions, like introducing a dependency on a different version of the aspectj compiler from your project?