Bug 278940 - setupManager NoSuchMehodFound
Summary: setupManager NoSuchMehodFound
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: AJBrowser (show other bugs)
Version: 1.6.4   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 08:42 EDT by Lars-Goran Andersson CLA
Modified: 2009-06-08 15:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars-Goran Andersson CLA 2009-06-03 08:42:39 EDT
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;
Comment 1 Andrew Clement CLA 2009-06-04 14:21:00 EDT
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?