Skip to content

Instantly share code, notes, and snippets.

@ge0ffrey
Created September 5, 2016 13:24
Show Gist options
  • Save ge0ffrey/78db42e09c66de6677599706b3a3e872 to your computer and use it in GitHub Desktop.
Save ge0ffrey/78db42e09c66de6677599706b3a3e872 to your computer and use it in GitHub Desktop.
15:21:36.775 [main] DEBUG o.d.c.k.b.impl.KieRepositoryImpl - Cannot load a KieRepositoryScanner, using the DummyKieScanner
java.lang.IllegalArgumentException: Unable to instantiate service for Class 'org.kie.api.builder.KieScannerFactoryService'
at org.kie.internal.utils.ServiceRegistryImpl.get(ServiceRegistryImpl.java:169) ~[kie-internal-7.0.0-20160824.165432-310.jar:7.0.0-SNAPSHOT]
at org.drools.compiler.kie.builder.impl.KieRepositoryImpl$KieScannerHolder.getInternalKieScanner(KieRepositoryImpl.java:88) [drools-compiler-7.0.0-20160824.170017-483.jar:7.0.0-SNAPSHOT]
at org.drools.compiler.kie.builder.impl.KieRepositoryImpl$KieScannerHolder.<clinit>(KieRepositoryImpl.java:80) [drools-compiler-7.0.0-20160824.170017-483.jar:7.0.0-SNAPSHOT]
at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:130) [drools-compiler-7.0.0-20160824.170017-483.jar:7.0.0-SNAPSHOT]
at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:117) [drools-compiler-7.0.0-20160824.170017-483.jar:7.0.0-SNAPSHOT]
at org.drools.compiler.CommonTestMethodBase.createJar(CommonTestMethodBase.java:349) [drools-compiler-7.0.0-20160824.170017-483-tests.jar:7.0.0-SNAPSHOT]
at org.drools.compiler.CommonTestMethodBase.createAndDeployJar(CommonTestMethodBase.java:329) [drools-compiler-7.0.0-20160824.170017-483-tests.jar:7.0.0-SNAPSHOT]
at org.drools.compiler.CommonTestMethodBase.createAndDeployJar(CommonTestMethodBase.java:321) [drools-compiler-7.0.0-20160824.170017-483-tests.jar:7.0.0-SNAPSHOT]
at org.optaplanner.core.api.solver.KieContainerSolverFactoryTest.deployTestdataKjar(KieContainerSolverFactoryTest.java:79) [test-classes/:na]
at org.optaplanner.core.api.solver.KieContainerSolverFactoryTest.buildSolverWithEmptyKmodule(KieContainerSolverFactoryTest.java:145) [test-classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_102]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_102]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_102]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_102]
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [junit-4.12.jar:4.12]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.12.jar:4.12]
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [junit-4.12.jar:4.12]
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) [junit-4.12.jar:4.12]
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [junit-4.12.jar:4.12]
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119) [junit-rt.jar:na]
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42) [junit-rt.jar:na]
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234) [junit-rt.jar:na]
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74) [junit-rt.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_102]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_102]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_102]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_102]
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) [idea_rt.jar:na]
Caused by: java.lang.IllegalArgumentException: Unable to instantiate 'org.kie.scanner.KieScannerFactoryServiceImpl'
at org.kie.internal.utils.ServiceRegistryImpl$FactoryInstantiator.call(ServiceRegistryImpl.java:296) ~[kie-internal-7.0.0-20160824.165432-310.jar:7.0.0-SNAPSHOT]
at org.kie.internal.utils.ServiceRegistryImpl.get(ServiceRegistryImpl.java:167) ~[kie-internal-7.0.0-20160824.165432-310.jar:7.0.0-SNAPSHOT]
... 37 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.kie.scanner.KieScannerFactoryServiceImpl
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_102]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_102]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_102]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_102]
at java.lang.Class.forName0(Native Method) ~[na:1.8.0_102]
at java.lang.Class.forName(Class.java:264) ~[na:1.8.0_102]
at org.kie.internal.utils.ServiceRegistryImpl$FactoryInstantiator.call(ServiceRegistryImpl.java:293) ~[kie-internal-7.0.0-20160824.165432-310.jar:7.0.0-SNAPSHOT]
... 38 common frames omitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment