Bug 215363 - java.lang.NoSuchMethodError: org.aspectj.weaver.tools.WeavingAdaptor.weaveClass(Ljava/lang/String;[B)[B
Summary: java.lang.NoSuchMethodError: org.aspectj.weaver.tools.WeavingAdaptor.weaveCla...
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.6.1   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-15 11:20 EST by Mark Addleman CLA
Modified: 2008-06-18 13:20 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Addleman CLA 2008-01-15 11:20:52 EST
The AOSGi incubator project is looking for a weaveClass method in WeavingAdaptor that takes two arguments instead of three.  The two arg method looks like it was in earlier versions of AspectJ, but is gone from the latest version.
Comment 1 Avatar CLA 2008-01-17 05:31:31 EST
In newest version everything is ok. Check if you have newest development versions of all packages.
Comment 2 Gerolf Seitz CLA 2008-03-06 08:17:06 EST
Same thing happened to me with the following plugins:
equinox-aspects-1.0.4
AJDT-1.6.0m2

after checking out the project "org.aspectj.osgi.service.weaving" from cvs, it works as expected.
Comment 3 Sushil Jain CLA 2008-05-31 12:14:58 EDT
I am having same problem. I am using Eclipse 3.2 since it is supported by IBM RAD 7.0. I cannot upgrade the AJDT to 1.5.X. Is there a work around for this problem.
Comment 4 Andrew Clement CLA 2008-06-02 12:08:15 EDT
Are you able to extract an old version of the AOSGi stuff that matches your old eclipse/ajdt variant?
Comment 5 Andrew Clement CLA 2008-06-18 13:20:35 EDT
just added a 2 arg version of the method that calls the 3 arg variant as per suggestion from Andrew E.  

untested.