[rules-users] java.lang.NoSuchMethodError (org.eclipse.jdt.internal.compiler.CompilationResult.getProblems())
Vadivelkumar
vpalanisamy at apple.com
Tue Oct 6 09:34:50 EDT 2009
Hi,
Fortunately we have identified the solution for
"java.lang.NoSuchMethodError
(org.eclipse.jdt.internal.compiler.CompilationResult.getProblems())"
a) If we are going to deploy the drools as part of our application
service, that uses Jboss Server,
We need to keep the Drools run time dependencies {Jboss Home}/
Server/default/lib Folder.
b) The following are the Drools runtime dependencies.
CORE RUNTIME
Runtime assumes that you are "compiling" rules using drools-compiler.
* drools-core - the rule engine itself.
* drools-api
* mvel2-2.0.10
* joda-time-1.6
* optional packages:
o xpp3_min-1.1.4c, xstream-1.3.1 - if you are using the
file based audit feature
Note you can use the drools-core stand-alone if you are compiling
"outside" your
runtime application, and deploying serialized Package or RuleBase?
objects.
Thanks,
Vadi.
On Sep 24, 2009, at 12:21 PM, Vadivelkumar wrote:
> Hi,
> I am new to drools. I have created the new drools project in
> eclipse IDE 3.5. I have compiled it and tested it. it works fine.
> but when deploying, I have converted as a jar file and deployed it
> as part of tomcat server. When my tomcat is running i'm receiving
> the following
> error message.
> Please Note:
> 1. I'm using JBoss Drools Core 5.0.1
> 2. My Eclipse Version is 3.5.0 and it has
> org.eclipse.jdt.core_3.5.0.v_963.jar. I have placed this jar file on
> my class path. but still i'm facing the below problem
> 3. I would like to try the solution suggested on ((http://lists.jboss.org/pipermail/rules-users/2007-January/000195.html)
> ). Unfortunately i could not find the any downnload location for
> org.eclipse.jdt.core_3.2.0.v_671.jar
> 4.We have tried with the the solution suggested on (http://www.jboss.org/community/wiki/RulesTomcat
> ) for Drools 4.x Still we are not able to resolve the issue.
>
> java.lang.NoSuchMethodError:
> org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()
> [Lorg/eclipse/jdt/core/compiler/CategorizedProblem;
> org.drools.commons.jci.compilers.EclipseJavaCompiler
> $3.acceptResult(EclipseJavaCompiler.java:321)
>
> org
> .eclipse
> .jdt
> .internal.compiler.Compiler.handleInternalException(Compiler.java:415)
> org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:352)
>
> org
> .drools
> .commons
> .jci.compilers.EclipseJavaCompiler.compile(EclipseJavaCompiler.java:
> 351)
>
> org
> .drools
> .commons
> .jci
> .compilers.AbstractJavaCompiler.compile(AbstractJavaCompiler.java:51)
>
> org
> .drools
> .rule.builder.dialect.java.JavaDialect.compileAll(JavaDialect.java:
> 389)
>
> org
> .drools
> .compiler
> .DialectCompiletimeRegistry
> .compileAll(DialectCompiletimeRegistry.java:56)
> org.drools.compiler.PackageRegistry.compileAll(PackageRegistry.java:
> 74)
> org.drools.compiler.PackageBuilder.compileAll(PackageBuilder.java:
> 690)
> org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:
> 653)
>
> org
> .drools
> .compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:290)
>
> org
> .drools
> .compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:488)
>
> org
> .drools
> .builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:25)
>
> Could you please help us to fix it?
>
> Thanks in advance.
>
>
> Thanks,
> Vadi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091006/32bb0b68/attachment.html
More information about the rules-users
mailing list