Hi All,
In our project for business level validations we are using JBoss Rules(Drools).
Initial we have started with 2.5 and shifted to 3.0 the latest version. I have
downloaded the 3.0.1 jar files from JBoss, and taken the latest version of
compiler (antlr) antlr-3.0ea10.jar.
But at the time of loading the rules its giving an error saying...
Exception in thread "main" java.lang.NoSuchFieldError: following
at org.drools.lang.RuleParser.compilation_unit(Unknown Source)
at org.drools.compiler.DrlParser.compile(Unknown Source)
at org.drools.compiler.DrlParser.parse(Unknown Source)
at org.drools.compiler.DrlParser.parse(Unknown Source)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(Unknown Source)
at com.effigent.rulez.test.UserTest.readRule(UserTest.java:53)
at com.effigent.rulez.test.UserTest.(UserTest.java:29)
Then I have downloaded the JBoss Rules IDE 3.0.1 jar for Eclipse from JBoss
(Which holds all the jars related to Drools) and added all the jars to the
classpath then loaded the rules and it works fine.
At my notice, what I found is in the IDE 3.0.1.jar the antlr jar version or
name is antlr-3.0ea8.jar. I have removed all the jars from my classpath and
added the previous jar which were giving problem and addtionally I removed the
antlr-3.0ea10.jar and replaced with antlr-3.0ea8.jar and it works fine.
Did anyone have faced the same kind of problem with 3.0.1 JBossRules jar files.
If yes, please let me know how did you resolved the issue.
Thanks in advance,
Vinayak
Effigent Inc,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954627#3954627
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954627
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user