[jboss-user] [Installation, Configuration & Deployment] - Deploying with JBoss rules

mauhawk do-not-reply at jboss.com
Thu Jul 13 20:49:17 EDT 2006


I am trying to deploy an EAR which contains two WARs and some utility JARs containing drools specific classes. These utility jars are included in the classpath for the WARs through the manifest file. However, during execution, the server throws an error saying : java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems().

The funny thing is that this error does not arise when the utility jars containing drools are placed within the WEB-INF/lib folder of the WARs.

Another way to avoid the error is to add -Ddrools.compiler=JANINO as a command line switch for JBoss server.

Though I have a way of making my application work, I just wanted to know the reason behind this peculiar behavior. I do realize that this may be occuring due to mismatch in the JDT compiler that JBoss and Drools. I just want to be sure.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957937#3957937

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957937



More information about the jboss-user mailing list