Hi,
Iam using Drools 5 and BRMS (guvnor)
configured in Tomcat5.5. I have created the package using BRMS and am trying
to call that package in my application.
But am getting following error while
executing that application(/file). Also I have added the mvel2 jar in application.
Pls let me know the reason for this.
Error:
RuleAgent(MyConfig1) INFO (Fri Jan 23
15:06:27 IST 2009): Configuring with newInstance=true, secondsToRefresh=30
RuleAgent(MyConfig1) INFO (Fri Jan 23
15:06:27 IST 2009): Configuring package provider : URLScanner monitoring URLs:
http://localhost:8090/drools-guvnor/org.drools.guvnor.Guvnor/package/com.sample/scoring_jan22
java.lang.NoClassDefFoundError:
org/mvel2/integration/impl/MapVariableResolverFactory
at
java.lang.ClassLoader.defineClass1(Native Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at
java.lang.Class.getDeclaredFields0(Native Method)
at
java.lang.Class.privateGetDeclaredFields(Class.java:2232)
at
java.lang.Class.getDeclaredField(Class.java:1852)
at
java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1555)
at java.io.ObjectStreamClass.access$600(ObjectStreamClass.java:47)
at
java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:381)
at
java.security.AccessController.doPrivileged(Native Method)
at
java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:373)
at
java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:268)
at
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:504)
at
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
at
java.util.HashMap.readObject(HashMap.java:1013)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Best Regards,
Divakar.BK