[jboss-jira] [JBoss JIRA] Created: (JBRULES-2589) running HonestPolitician from a Maven created eclipse project for drools-examples-drl => NoClassDefFoundError: XStream

Jean-Marc Vanel (JIRA) jira-events at lists.jboss.org
Thu Jul 22 05:59:39 EDT 2010


running HonestPolitician from a Maven created eclipse project for drools-examples-drl => NoClassDefFoundError: XStream
----------------------------------------------------------------------------------------------------------------------

                 Key: JBRULES-2589
                 URL: https://jira.jboss.org/browse/JBRULES-2589
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: FUTURE
         Environment:  % uname -a 
Linux jmv-desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux
% java -version 
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

            Reporter: Jean-Marc Vanel
            Assignee: Mark Proctor


 I made an eclipse project using Maven from drools-trunk/drools-examples/drools-examples-drl , and when running the class HonestPoliticianExample,
I have a       NoClassDefFoundError: com/thoughtworks/xstream/XStream 

The stack is :
     
Exception in thread "main" java.lang.NoClassDefFoundError: com/thoughtworks/xstream/XStream
at org.drools.audit.KnowledgeRuntimeLoggerProviderImpl.newFileLogger(KnowledgeRuntimeLoggerProviderImpl.java:10)
at org.drools.logger.KnowledgeRuntimeLoggerFactory.newFileLogger(KnowledgeRuntimeLoggerFactory.java:37)
at org.drools.examples.HonestPoliticianExample.main(HonestPoliticianExample.java:35)

The dependency com.thoughtworks.xstream is in drools-compiler/pom.xml , but only at the scope test !?!


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list