Hello all,
We're getting the following exception executing our rules in Drools 5.2.1 :
WARN: Execution of JMS message listener failed
java.lang.NoClassDefFoundError: org/drools/factmodel/traits/Thing
at
org.drools.compiler.PackageBuilder.initBuiltinTypeDeclarations(PackageBuilder.java:332)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:310)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:205)
at
org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
at
org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:46)
at
com.anteil.lazboy.lzbws.pricing.AddDRTDRLRFToKBuilder.<init>(AddDRTDRLRFToKBuilder.java:31)
at
com.anteil.lazboy.lzbws.pricing.PricingUploadJMSConsumer.<init>(PricingUploadJMSConsumer.java:30)
at
com.anteil.lazboy.lzbws.pricing.DealerPricingUploadConsumer.<init>(DealerPricingUploadConsumer.java:11)
at
com.anteil.lazboy.lzbws.pricing.PricingUploadJMSConsumer.getConsumer(PricingUploadJMSConsumer.java:64)
at
com.anteil.lazboy.lzbws.pricing.PricingUploadJMSConsumer.executeUpload(PricingUploadJMSConsumer.java:82)
at
com.lazboy.lzbws.jms.message.PricingUploadValidationRequest.onMessage(PricingUploadValidationRequest.java:60)
at
org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:518)
at
org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:479)
at
org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)
at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)
at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)
at
org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ClassNotFoundException:
org.drools.factmodel.traits.Thing
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 20 more
The issue is that I can't seem to find the class
org.drools.factmodel.traits.Thing in any Drools 5.2.1 modules.
Can someone tell me the possible causes?
Thanks in advance
--
cheers
Gurvinder
--
View this message in context:
http://drools.46999.n3.nabble.com/Runtime-Java-Exception-Firing-rules-Dro...
Sent from the Drools: User forum mailing list archive at
Nabble.com.