Community
Participate
Working Groups
java.lang.NoSuchMethodError at org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.weave(AjCompilerAdapter.java:298) at org.aspectj.ajdt.internal.compiler.AjCompilerAdapter.afterCompiling(AjCompilerAdapter.java:192) at org.aspectj.ajdt.internal.compiler.CompilerAdapter.ajc$afterReturning$org_aspectj_ajdt_internal_compiler_CompilerAdapter$2$f9cc9ca0(CompilerAdapter.aj:70) at org.aspectj.org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:367) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation(AjBuildManager.java:875) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild(AjBuildManager.java:243) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.batchBuild(AjBuildManager.java:162) at org.aspectj.ajde.internal.CompilerAdapter.compile(CompilerAdapter.java:122) at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run(AspectJBuildManager.java:191) NoSuchMethodError thrown: org.aspectj.weaver.bcel.BcelWeaver.setIsBatchWeave(Z)V
errr, a bit of context might be nice? What version of the compiler did you see this on? are you using eclipse? what code were you running? were you programmatically executing the compiler or just running AJDT? The setIsBatchWeave() method has been in the BcelWeaver class for a while now, it was checked into version 1.90 of BcelWeaver on 11/05/2006. If BcelWeaver is being found and yet that method can't be found it suggests an old version of the weaver class is on your classpath.
I used AJDT ajdt_1.4.0.20060621130745_archive.zip in Eclipse RC7
updating component
Have you upgraded to the latest AJDT 1.4.0 (final release) - is it now working for you?
no feedback for 3 weeks, closing. please reopen if the suggested solutions dont fix it.