Written by The Jahia Team
   Estimated reading time:

After migrating from Jahia to DIgital Factory, the following exception was thrown at the server startup:

2016-08-23 15:18:54,955: ERROR [RulesListener] - wrong class format
java.lang.RuntimeException: wrong class format
at org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:279)
at org.drools.compiler.commons.jci.compilers.EclipseJavaCompiler$2.findType(EclipseJavaCompiler.java:219)


This is a known issue with Drools and the JDK 8 (https://issues.jboss.org/browse/DROOLS-329)


After installing the same version of JDK 8 on each instance (jdk1.8.0_77), the issue was resolved.