Exception in thread "main" java.lang.NoClassDefFoundError: org/drools/compiler/DroolsParserException
SolverFactory solverFactory = new XmlSolverFactory("/com/my/proj/planner/solver/plannerSolverConfig.xml");
I'm using now drools 5.5.0.Final without the dsl file that had some issue (see older post), I tested on eclipse with it and it worked perfectly. The path to the file is correct.
These are the dependencies, using maven:
drools-compiler-5.5.0.Final
drools-core-5.5.0.Final
drools-planner-core-5.5.0.Final
<properties>
<org.drools.version>5.5.0.Final</org.drools.version>
</properties>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-core</artifactId>
<version>${org.drools.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.drools</groupId>
<artifactId>drools-compiler</artifactId>
<version>${org.drools.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.drools.planner</groupId>
<artifactId>drools-planner-core</artifactId>
<version>${org.drools.version}</version>
</dependency>