That definately looks like a classpath error, somehow the classpath has lost
scope to see your classes.
Also, we have migrated to the jboss mail servers now (see the other mailing
list).
On 1/7/07, Paul O'Connor <paulhoconnor(a)yahoo.com> wrote:
I was successfully compiling and using rules in an
Axis2 web service under Axis 2 v. 1.0. Version 1.1
breaks my codebase. Now, my domain object types are
not loaded, and a suspicious error message arises
relating to a core Drools calss not loading:
Rule Compilation error Class
"org.drools.spi.KnowledgeHelper" not found
I suspect a classloader change in Axis2, but was
wondering if anyone can shed light on what is going on
at this point in the package validation of rule
compilatation before I chase the Axis2 change.
The full error trace is below.
Thanks in advance!
org.drools.rule.InvalidRulePackage: Unable to resolve
ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'Product'
Unable to resolve ObjectType 'Account'
Unable to resolve ObjectType 'RequestedBump'
Unable to resolve ObjectType 'RequestedBump'
Unable to resolve ObjectType 'RequestedBump'
Rule Compilation error Class
"org.drools.spi.KnowledgeHelper" not found Class "o
rg.drools.spi.KnowledgeHelper" not found Unknown
variable or type "result" Class
"java.lang.Object" has no method named
"setBasisPoints" Expression "result" is
not an rvalue Expression "result" is not an rvalue
Expression "result" is not an
rvalue Unknown variable or type "result" Unknown
variable or type "result" Clas
s "java.lang.Object" has no method named "setReason"
Expression "result" is not
an rvalue Expression "result" is not an rvalue
Expression "result" is not an rva
lue Unknown variable or type "result" Exception:14
errors while compiling unit "
com/sovereignbank/sovplatform/rules/rates/Rule_Bump_Rate_22_0.java"
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email