Rajesh,

 you probably have differente JDT CompilationResult classes on your classpath and also on JBoss classpath  (I'd guess JBoss Tomcat instance uses JDT for compilation) . You'll need to configure a separate classloader for your application. Here you have the documentation:
http://www.jboss.org/community/wiki/ClassLoadingConfiguration (Isolation with Overriding Server Classes) and an example http://www.junlu.com/msg/78287.html

regards,
Rafael Ribeiro


2009/7/18 G Rajesh <rajesh.chowdary@eageyouth.com>
Hi,
 
I am new to Drools and trying to use Drools 5.0 run time.
I am using JBoss 4.2.2 and am trying to integrate drools into existing web application already deployed on JBoss 4.2.2.
I've downloaded drools eclipse plugin, copied features, plugins and dependency jars into eclipse respective folders.
 
I am able to successfully run rules on a standalone application.
I can deploy the application successfully, but when I browse the home page(or any other thing) of the application, following is the error message thrown by Jboss.
Seems it is compiler conflict.
 
Thanks in advance
G Rajesh
 
 
=====================================================
Following is the error Msg:
===========================================================================

java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IProblem;

 

 

 


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users