[rules-users] Getting a NoClassDefinitionFoundError while using JBoss Drools.

Manjax23 manjunatha.n at coreobjects.com
Fri Aug 24 01:50:25 EDT 2007



Put all the dependent jar files - all the drools  and dependent jar files in
the classpath.

~manjax



Gaurav2007 wrote:
> 
> Hi,
> I wish to use JBoss Drools rule Engine for evaluating Rules in my RCP
> Application based on Eclipse 3.2. I do this by extracting source files
> included in the Drools binary files.
> 
> I get the follwing stacktrace:
> 
> Unable to load dialect
> 'org.drools.rule.builder.dialect.java.JavaDialectConfiguration:java'
> at
> org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(PackageBuilderConfiguration.java:138)
> at
> org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:114)
> at org.drools.compiler.PackageBuilderConfiguration.
> (PackageBuilderConfiguration.java:87)
> at org.drools.compiler.PackageBuilder. (PackageBuilder.java:122)
> at org.drools.compiler.PackageBuilder. (PackageBuilder.java:88)
> at
> my package..................................
> 
> caused by: java.lang.ClassNotFoundException:
> org.drools.rule.builder.dialect.java.JavaDialectConfiguration
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at
> org.drools.compiler.PackageBuilderConfiguration.buildDialectRegistry(PackageBuilderConfiguration.java:132)
> ... 50 more 
> 
> 

-- 
View this message in context: http://www.nabble.com/Getting-a-NoClassDefinitionFoundError-while-using-JBoss-Drools.-tf4321487.html#a12306924
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list