Skip to content

Instantly share code, notes, and snippets.

@ge0ffrey
Created July 24, 2018 11:26
Show Gist options
  • Save ge0ffrey/61261ec5d45f2a4f0466bcb2abea436b to your computer and use it in GitHub Desktop.
Save ge0ffrey/61261ec5d45f2a4f0466bcb2abea436b to your computer and use it in GitHub Desktop.
java.lang.NoClassDefFoundError: org/drools/core/io/impl/ResourceFactoryServiceImpl
at org.drools.compiler.kie.builder.impl.KieServicesImpl.getResources(KieServicesImpl.java:233)
at org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.buildDroolsScoreDirectorFactory(ScoreDirectorFactoryConfig.java:500)
at org.optaplanner.core.config.score.director.ScoreDirectorFactoryConfig.buildScoreDirectorFactory(ScoreDirectorFactoryConfig.java:350)
at org.optaplanner.core.config.solver.SolverConfig.buildSolver(SolverConfig.java:255)
at org.optaplanner.benchmark.impl.SubSingleBenchmarkRunner.call(SubSingleBenchmarkRunner.java:99)
at org.optaplanner.benchmark.impl.SubSingleBenchmarkRunner.call(SubSingleBenchmarkRunner.java:34)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.drools.core.io.impl.ResourceFactoryServiceImpl
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 12 common frames omitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment