Hi FBrum,
You will find the org.eclipse.jdt.core_3.2.0.v_642.jar in your eclipse\plugins directory.
cheers
Steve
Hello everybody!
I'm having the same problem that you had, but when I run the project from the JBoss Server and try do run the code with the JBoss rules, I get the error:
java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
at org.apache.commons.jci.compilers.EclipseJavaCompiler$2.acceptResult(EclipseJavaCompiler.java:237)
at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:415)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:352)
at org.apache.commons.jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:268)
at org.drools.compiler.PackageBuilder.compileAll(Unknown Source)
at org.drools.compiler.PackageBuilder.addPackage(Unknown Source)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown Source)
I've downloaded the ecj.jar, which haves the org\eclipse\jdt\internal\compiler\CompilationResult.class
with the getProblems() method, to the \lib folder of the server!
But it seems that this ecj.jar haves some conflict, because there are times that it works and others it doesn't.
So I have tried do look for the org.eclipse.jdt.core_3.2.0.v_642.jarIn my org.drools.ide_3.0.5, but didn't found it. Don't know where to!!
What should I do?
Thanks in advanced for your attention
FBrum.
History of a similar problem solved in this mailing list:
shilpa.raghavendra
Sun, 28 Jan 2007 23:38:14 -0800Thank you very much Steve its working fine.
-----Original Message-----
From: [EMAIL PROTECTED]
[ mailto:[EMAIL PROTECTED] On Behalf Of StevenWilliams
Sent: Monday, January 29, 2007 10:20 AM
To: Rules Users List
Subject: Re: [rules-users] java.lang.NoSuchMethodError
Sorry Shilpa - I was looking at 3.0.5. What I said still holds true though -
make sure the v642 jar is at the top of your runtime classpath.
On 1/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
I am using org.drools.ide_3.0.4 as eclipse plug-in it's having
org.eclipse.jdt.core_3.2.0.v_642.jar
Still I have to use higher version
Regards
Shilpa
__________________________________
Francisco Brum - francisco.brum@link.pt
Link Consulting - http://www.link.pt/Tel.: 213 100 031
Av. Duque D'�vila, 23 4� Esq.
1000-138 Lisboa
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users