Are you using maven 2 and got 3.0.4 from the central has repo?
I had some trouble with transitive dependencies of Drools on the central maven repo, such as eclipse-janino etc.

Versions of jxl seem to be on there though:
http://www.mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl


With kind regards,
Geoffrey De Smet


Joj wrote:
replaced jars drools-core-3.0.1, drools-decisiontables-3.0.1,
drools-jsr94-3.0.1, drools-compiler-3.0.1 by their 3.0.4 versions. now,
getting execption on the 2nd line of my function:


        //---------function to display excel rules in .drl format--------
        public String getXLSRules(String ruleBasePath) {
                SpreadsheetCompiler converter = new SpreadsheetCompiler();
String drl = converter.compile(ruleBasePath, InputType.XLS); //--------exception here--------
                System.out.println("\n\n" + drl);
                return drl;
        }


the exception is:

java.lang.NoClassDefFoundError: jxl/read/biff/BiffException
        at org.drools.decisiontable.XlsInput.createParser(Unknown Source)
        at
org.drools.decisiontable.SpreadsheetCompiler.getRuleSheetListener(Unknown
Source)
        at org.drools.decisiontable.SpreadsheetCompiler.compile(Unknown Source)
        at org.drools.decisiontable.SpreadsheetCompiler.compile(Unknown Source)
        at
com.stabilix.rule.jbossrule.JbossRuleEngine.getXLSRules(JbossRuleEngine.java:177)


plz help A.S.A.P. since this is very urgent.

thanx
Jojan




---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to