[JBoss JIRA] (DROOLS-743) kie ci regression: unable to resolve dependency of kjar during KB creation
by Tibor Zimányi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-743?page=com.atlassian.jira.plugin... ]
Tibor Zimányi closed DROOLS-743.
--------------------------------
Resolution: Done
Tested with 7.8.0.Final and Wildfly 11 and it works. Closing.
> kie ci regression: unable to resolve dependency of kjar during KB creation
> --------------------------------------------------------------------------
>
> Key: DROOLS-743
> URL: https://issues.jboss.org/browse/DROOLS-743
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.2.0.Final
> Environment: Please notice it works OK with Drools 6.1.0.Final
> Currently JDK8, Wildfly 8.2.0.Final.
> Reporter: Matteo Mortari
> Assignee: Mario Fusco
> Attachments: 20150317.DROOLS-743.zip
>
>
> h5. Executive summary
> With version 610Final using kie-ci, if the kjar KieModule had some pom dependency, say on a "object model" or reference package, the classes in the dependency artifact would be resolved correctly during knowledge base creation. However with 620Final, when the kjar KieModule is fetched and knowledge base creation starts, it seems like the kie-ci is no longer able to "see" the classes of this pom dependency.
> This is a problem especially in all scenarios where different rule packages kjar KieModule defines rules based on a common library, "object model".
> h5. Details and Reproducer
> Suppose you have a library, object model, package reference .jar artifact, attached:
> {{exercise_kie_ci-rules-objectmodel}}
> Suppose you have a simple kjar project:
> {{exercise_kie_ci-rules}}
> with very simple rule
> {code}
> package com.acme.exercise_kie_ci_rules;
> import com.acme.exercise_kie_ci_rules_objectmodel.AcmePojo;
> rule "just test dependency of objectmodel"
> no-loop
> when
> then
> AcmePojo pojo = new AcmePojo("Ciao");
> System.out.println("Simple rule for inserting pojo..."+pojo);
> insert(pojo);
> end
> {code}
> You will notice in kjar pom the dependency is explicited and rule compilation works ok with kie-maven-plugin.
> Now install them with:
> mvn install the artifactId exercise_kie_ci-rules-objectmodel
> mvn install the artifactId exercise_kie_ci-rules
> Now deploy the {{exercise-kie-ci}} on WildFly:
> IFF Drools version is 610Final works ok:
> {code}
> 19:21:03,708 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "exercise-kie-ci.war" (runtime-name: "exercise-kie-ci.war")
> ...
> 19:21:07,776 INFO [org.drools.compiler.kie.builder.impl.KieRepositoryImpl] (ServerService Thread Pool -- 50) KieModule was added:ZipKieModule[ ReleaseId=com.acme:exercise_kie_ci-rules:1.0.0file=C:\Users\mmortari\.m2\repository\com\acme\exercise_kie_ci-rules\1.0.0\exercise_kie_ci-rules-1.0.0.jar]
> 19:21:07,877 INFO [com.acme.exercise_kie_ci.Exercise] (ServerService Thread Pool -- 50) Creating kieBase with STREAM option
> 19:21:07,960 INFO [com.acme.exercise_kie_ci.Exercise] (ServerService Thread Pool -- 50) There should be rules:
> 19:21:07,960 INFO [com.acme.exercise_kie_ci.Exercise] (ServerService Thread Pool -- 50) kp [Package name=com.acme.exercise_kie_ci_rules] rule just test dependency of objectmodel
> 19:21:08,123 INFO [org.wildfly.extension.undertow] (MSC service thread 1-12) JBAS017534: Registered web context: /exercise-kie-ci
> 19:21:08,146 INFO [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed "exercise-kie-ci.war" (runtime-name : "exercise-kie-ci.war")
> {code}
> Kindly notice line mentioning the artifact was kjar KieModule was resolved and correctly imported, an debug log line mentioning the very simple rule is available in the KB.
> However, if you now switch the Drools version to 620Final in the {{exercise-kie-ci}} and redeploy to WildFly, it would no longer work:
> {code}
> 19:23:09,524 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (ServerService Thread Pool -- 54) Unable to build KieBaseModel:defaultKieBase
> Error importing : 'com.acme.exercise_kie_ci_rules_objectmodel.AcmePojo'
> 19:23:09,747 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (ServerService Thread Pool -- 54) Unable to build KieBaseModel:defaultKieBase
> Error importing : 'com.acme.exercise_kie_ci_rules_objectmodel.AcmePojo'
> 19:23:09,748 INFO [com.acme.exercise_kie_ci.Exercise] (ServerService Thread Pool -- 54) Message [id=1, level=ERROR, path=rules.drl, line=1, column=0
> text=Error importing : 'com.acme.exercise_kie_ci_rules_objectmodel.AcmePojo']
> {code}
> I will attach reproducer.
> Could you kindly advise, please?
> As always, thank you.
> Ciao
> MM
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-937) java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function; )Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
by Tibor Zimányi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-937?page=com.atlassian.jira.plugin... ]
Tibor Zimányi commented on DROOLS-937:
--------------------------------------
Is this still relevant? I checked master branch and we have Guava 20 there currently.
> java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-937
> URL: https://issues.jboss.org/browse/DROOLS-937
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.3.0.Final
> Environment: Spring Boot 1.2.6, Spring 4.1.7, Guava 18
> Reporter: Hendy Irawan
> Assignee: Mario Fusco
>
> Maven:
> {code:xml}
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.drools</groupId>
> <artifactId>drools-bom</artifactId>
> <version>6.3.0.Final</version>
> <type>pom</type>
> <scope>import</scope>
> </dependency>
> </dependencies>
> </dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.kie</groupId>
> <artifactId>kie-api</artifactId>
> </dependency>
> <dependency>
> <groupId>org.drools</groupId>
> <artifactId>drools-compiler</artifactId>
> <scope>runtime</scope>
> </dependency>
> <dependency>
> <groupId>org.kie</groupId>
> <artifactId>kie-ci</artifactId>
> <scope>runtime</scope>
> </dependency>
> {code}
> Config:
> {code:java}
> package org.lskk.lumen.reasoner;
> import org.kie.api.KieServices;
> import org.kie.api.builder.KieScanner;
> import org.kie.api.runtime.KieContainer;
> import org.kie.api.runtime.KieSession;
> import org.slf4j.Logger;
> import org.slf4j.LoggerFactory;
> import org.springframework.context.annotation.Bean;
> import org.springframework.context.annotation.Configuration;
> import org.springframework.core.env.Environment;
> import javax.inject.Inject;
> /**
> * Created by ceefour on 10/2/15.
> */
> @Configuration
> public class DroolsConfig {
> private static final Logger log = LoggerFactory.getLogger(DroolsConfig.class);
> @Inject
> private Environment env;
> @Bean
> public KieServices kieServices() {
> return KieServices.Factory.get();
> }
> @Bean
> public KieContainer kieContainer() {
> return kieServices().getKieClasspathContainer(DroolsConfig.class.getClassLoader());
> }
> @Bean(destroyMethod = "dispose")
> public KieSession kieSession() {
> return kieContainer().newKieSession();
> }
> @Bean(destroyMethod = "shutdown")
> public KieScanner kieScanner() {
> final KieScanner kieScanner = kieServices().newKieScanner(kieContainer());
> kieScanner.start(10000l); // 10 seconds
> return kieScanner;
> }
> }
> {code}
> Error:
> {noformat}
> 2015-10-02 18:14:02.190 INFO 30914 --- [ main] org.lskk.lumen.reasoner.ReasonerApp : Starting ReasonerApp on netadm.dev with PID 30914 (/home/ceefour/git/lumen/reasoner/target/classes started by ceefour in /home/ceefour/git/lumen/reasoner)
> 2015-10-02 18:14:02.198 DEBUG 30914 --- [ main] org.lskk.lumen.reasoner.ReasonerApp : Running with Spring Boot v1.2.6.RELEASE, Spring v4.1.7.RELEASE
> 2015-10-02 18:14:03.327 INFO 30914 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@6f8e8894: startup date [Fri Oct 02 18:14:03 WIB 2015]; root of context hierarchy
> 2015-10-02 18:14:06.763 INFO 30914 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
> 2015-10-02 18:14:06.965 INFO 30914 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [class org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$585cb6ff] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
> 2015-10-02 18:14:08.238 INFO 30914 --- [ main] o.d.c.k.b.impl.ClasspathKieProject : Found kmodule: file:/home/ceefour/git/lumen/reasoner/target/classes/META-INF/kmodule.xml
> 2015-10-02 18:14:08.790 WARN 30914 --- [ main] o.d.c.k.b.impl.ClasspathKieProject : Unable to find pom.properties in /home/ceefour/git/lumen/reasoner/target/classes
> 2015-10-02 18:14:08.904 WARN 30914 --- [ main] org.kie.scanner.embedder.MavenSettings : Environment variable M2_HOME is not set
> 2015-10-02 18:14:09.465 INFO 30914 --- [ main] o.k.scanner.embedder.MavenEmbedderUtils : Not in OSGi: using plexus based maven parser
> 2015-10-02 18:14:10.709 WARN 30914 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'droolsRouter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.kie.api.runtime.KieSession org.lskk.lumen.reasoner.DroolsRouter.kieSession; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
> at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:480)
> at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java)
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)
> at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:687)
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
> at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
> at org.lskk.lumen.reasoner.ReasonerApp.main(ReasonerApp.java:19)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.kie.api.runtime.KieSession org.lskk.lumen.reasoner.DroolsRouter.kieSession; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
> at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
> ... 21 common frames omitted
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
> ... 23 common frames omitted
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
> ... 35 common frames omitted
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieContainer(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig.kieSession(DroolsConfig.java:38)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.CGLIB$kieSession$2(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b$$FastClassBySpringCGLIB$$c1d93b2c.invoke(<generated>)
> at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieSession(<generated>)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
> ... 36 common frames omitted
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
> ... 57 common frames omitted
> Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at com.google.inject.internal.Annotations$AnnotationChecker.<init>(Annotations.java:104)
> at com.google.inject.internal.Annotations.<clinit>(Annotations.java:122)
> at com.google.inject.Key.ensureRetainedAtRuntime(Key.java:362)
> at com.google.inject.Key.strategyFor(Key.java:354)
> at com.google.inject.Key.get(Key.java:222)
> at org.eclipse.sisu.wire.ParameterKeys.<clinit>(ParameterKeys.java:28)
> at org.eclipse.sisu.wire.DependencyAnalyzer.<init>(DependencyAnalyzer.java:92)
> at org.eclipse.sisu.wire.ElementAnalyzer.<init>(ElementAnalyzer.java:87)
> at org.eclipse.sisu.wire.WireModule.configure(WireModule.java:74)
> at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:229)
> at com.google.inject.spi.Elements.getElements(Elements.java:103)
> at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
> at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
> at com.google.inject.Guice.jrCreateInjector(Guice.java:94)
> at com.google.inject.Guice.createInjector(Guice.java)
> at com.google.inject.Guice.createInjector(Guice.java:71)
> at com.google.inject.Guice.createInjector(Guice.java:61)
> at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:477)
> at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:203)
> at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:167)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:166)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:140)
> at org.kie.scanner.embedder.PlexusComponentProvider.<init>(PlexusComponentProvider.java:37)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildComponentProvider(MavenEmbedderUtils.java:56)
> at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:75)
> at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:69)
> at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:55)
> at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:49)
> at org.kie.scanner.MavenPomModelGenerator.parse(MavenPomModelGenerator.java:36)
> at org.drools.compiler.kproject.xml.PomModel$Parser.parse(PomModel.java:89)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.generatePomPropertiesFromPom(ClasspathKieProject.java:311)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPomProperties(ClasspathKieProject.java:226)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:183)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:102)
> at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:99)
> at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:82)
> at org.lskk.lumen.reasoner.DroolsConfig.kieContainer(DroolsConfig.java:33)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.CGLIB$kieContainer$1(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b$$FastClassBySpringCGLIB$$c1d93b2c.invoke(<generated>)
> at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieContainer(<generated>)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
> ... 58 common frames omitted
> 2015-10-02 18:14:10.720 INFO 30914 --- [ main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [file:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar, file:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar, file:/home/ceefour/git/lumen/reasoner/target/classes/, file:/home/ceefour/git/lumen-sdk/java/target/classes/, file:/data/m2_repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar, file:/data/m2_repository/org/apache/camel/camel-amqp/2.15.3/camel-amqp-2.15.3.jar, file:/data/m2_repository/org/apache/camel/camel-jms/2.15.3/camel-jms-2.15.3.jar, file:/data/m2_repository/org/springframework/spring-jms/4.1.7.RELEASE/spring-jms-4.1.7.RELEASE.jar, file:/data/m2_repository/org/springframework/spring-messaging/4.1.7.RELEASE/spring-messaging-4.1.7.RELEASE.jar, file:/data/m2_repository/org/codehaus/groovy/groovy/2.4.4/groovy-2.4.4.jar, file:/data/m2_repository/org/kie/kie-api/6.3.0.Final/kie-api-6.3.0.Final.jar, file:/data/m2_repository/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar, file:/data/m2_repository/org/drools/drools-compiler/6.3.0.Final/drools-compiler-6.3.0.Final.jar, file:/data/m2_repository/org/drools/drools-core/6.3.0.Final/drools-core-6.3.0.Final.jar, file:/data/m2_repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar, file:/data/m2_repository/org/kie/kie-internal/6.3.0.Final/kie-internal-6.3.0.Final.jar, file:/data/m2_repository/org/antlr/antlr-runtime/3.5/antlr-runtime-3.5.jar, file:/data/m2_repository/org/eclipse/jdt/core/compiler/ecj/4.3.1/ecj-4.3.1.jar, file:/data/m2_repository/org/mvel/mvel2/2.2.6.Final/mvel2-2.2.6.Final.jar, file:/data/m2_repository/com/thoughtworks/xstream/xstream/1.4.7/xstream-1.4.7.jar, file:/data/m2_repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar, file:/data/m2_repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar, file:/data/m2_repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar, file:/data/m2_repository/org/kie/kie-ci/6.3.0.Final/kie-ci-6.3.0.Final.jar, file:/data/m2_repository/org/apache/maven/maven-artifact/3.2.2/maven-artifact-3.2.2.jar, file:/data/m2_repository/org/apache/maven/maven-core/3.2.2/maven-core-3.2.2.jar, file:/data/m2_repository/org/apache/maven/maven-repository-metadata/3.2.2/maven-repository-metadata-3.2.2.jar, file:/data/m2_repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar, file:/data/m2_repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar, file:/data/m2_repository/org/apache/maven/maven-model/3.2.2/maven-model-3.2.2.jar, file:/data/m2_repository/org/apache/maven/maven-model-builder/3.2.2/maven-model-builder-3.2.2.jar, file:/data/m2_repository/org/apache/maven/maven-plugin-api/3.2.2/maven-plugin-api-3.2.2.jar, file:/data/m2_repository/org/apache/maven/maven-settings/3.2.2/maven-settings-3.2.2.jar, file:/data/m2_repository/org/apache/maven/maven-settings-builder/3.2.2/maven-settings-builder-3.2.2.jar, file:/data/m2_repository/org/apache/maven/maven-compat/3.2.2/maven-compat-3.2.2.jar, file:/data/m2_repository/org/apache/maven/maven-aether-provider/3.2.2/maven-aether-provider-3.2.2.jar, file:/data/m2_repository/org/apache/maven/wagon/wagon-provider-api/1.0/wagon-provider-api-1.0.jar, file:/data/m2_repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar, file:/data/m2_repository/org/codehaus/plexus/plexus-classworlds/2.5.1/plexus-classworlds-2.5.1.jar, file:/data/m2_repository/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar, file:/data/m2_repository/org/eclipse/aether/aether-api/1.0.0.v20140518/aether-api-1.0.0.v20140518.jar, file:/data/m2_repository/org/eclipse/aether/aether-util/1.0.0.v20140518/aether-util-1.0.0.v20140518.jar, file:/data/m2_repository/org/eclipse/aether/aether-impl/1.0.0.v20140518/aether-impl-1.0.0.v20140518.jar, file:/data/m2_repository/org/eclipse/aether/aether-connector-basic/1.0.0.v20140518/aether-connector-basic-1.0.0.v20140518.jar, file:/data/m2_repository/org/eclipse/aether/aether-spi/1.0.0.v20140518/aether-spi-1.0.0.v20140518.jar, file:/data/m2_repository/org/eclipse/aether/aether-transport-wagon/1.0.0.v20140518/aether-transport-wagon-1.0.0.v20140518.jar, file:/data/m2_repository/org/eclipse/aether/aether-transport-file/1.0.0.v20140518/aether-transport-file-1.0.0.v20140518.jar, file:/data/m2_repository/org/eclipse/aether/aether-transport-http/1.0.0.v20140518/aether-transport-http-1.0.0.v20140518.jar, file:/data/m2_repository/org/apache/httpcomponents/httpclient/4.3.6/httpclient-4.3.6.jar, file:/data/m2_repository/org/eclipse/sisu/org.eclipse.sisu.plexus/0.0.0.M5/org.eclipse.sisu.plexus-0.0.0.M5.jar, file:/data/m2_repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M5/org.eclipse.sisu.inject-0.0.0.M5.jar, file:/data/m2_repository/org/apache/ant/ant/1.8.2/ant-1.8.2.jar, file:/data/m2_repository/org/apache/ant/ant-launcher/1.8.2/ant-launcher-1.8.2.jar, file:/data/m2_repository/org/apache/maven/wagon/wagon-http/2.0/wagon-http-2.0.jar, file:/data/m2_repository/org/apache/maven/wagon/wagon-http-shared4/2.0/wagon-http-shared4-2.0.jar, file:/data/m2_repository/org/jsoup/jsoup/1.6.1/jsoup-1.6.1.jar, file:/data/m2_repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar, file:/data/m2_repository/org/apache/httpcomponents/httpcore/4.3.3/httpcore-4.3.3.jar, file:/data/m2_repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar, file:/data/m2_repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar, file:/data/m2_repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar, file:/data/m2_repository/com/fasterxml/jackson/core/jackson-databind/2.4.6.1/jackson-databind-2.4.6.1.jar, file:/data/m2_repository/com/fasterxml/jackson/core/jackson-annotations/2.4.6/jackson-annotations-2.4.6.jar, file:/data/m2_repository/com/fasterxml/jackson/core/jackson-core/2.4.6/jackson-core-2.4.6.jar, file:/data/m2_repository/com/fasterxml/jackson/datatype/jackson-datatype-guava/2.4.6/jackson-datatype-guava-2.4.6.jar, file:/data/m2_repository/com/fasterxml/jackson/datatype/jackson-datatype-joda/2.4.6/jackson-datatype-joda-2.4.6.jar, file:/data/m2_repository/joda-time/joda-time/2.5/joda-time-2.5.jar, file:/data/m2_repository/commons-io/commons-io/2.4/commons-io-2.4.jar, file:/data/m2_repository/org/springframework/data/spring-data-commons/1.9.3.RELEASE/spring-data-commons-1.9.3.RELEASE.jar, file:/data/m2_repository/org/springframework/spring-core/4.1.7.RELEASE/spring-core-4.1.7.RELEASE.jar, file:/data/m2_repository/org/springframework/spring-beans/4.1.7.RELEASE/spring-beans-4.1.7.RELEASE.jar, file:/data/m2_repository/org/slf4j/jcl-over-slf4j/1.7.12/jcl-over-slf4j-1.7.12.jar, file:/data/m2_repository/com/google/guava/guava/18.0/guava-18.0.jar, file:/data/m2_repository/javax/enterprise/cdi-api/1.0-SP4/cdi-api-1.0-SP4.jar, file:/data/m2_repository/org/jboss/spec/javax/interceptor/jboss-interceptors-api_1.1_spec/1.0.0.Beta1/jboss-interceptors-api_1.1_spec-1.0.0.Beta1.jar, file:/data/m2_repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar, file:/data/m2_repository/javax/inject/javax.inject/1/javax.inject-1.jar, file:/data/m2_repository/org/apache/camel/camel-spring-boot/2.15.3/camel-spring-boot-2.15.3.jar, file:/data/m2_repository/org/apache/camel/camel-spring/2.15.3/camel-spring-2.15.3.jar, file:/data/m2_repository/org/springframework/spring-tx/4.1.7.RELEASE/spring-tx-4.1.7.RELEASE.jar, file:/data/m2_repository/com/sun/xml/bind/jaxb-core/2.2.11/jaxb-core-2.2.11.jar, file:/data/m2_repository/com/sun/xml/bind/jaxb-impl/2.2.11/jaxb-impl-2.2.11.jar, file:/data/m2_repository/org/apache/camel/camel-spring-javaconfig/2.15.3/camel-spring-javaconfig-2.15.3.jar, file:/data/m2_repository/org/apache/camel/camel-core/2.15.3/camel-core-2.15.3.jar, file:/data/m2_repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.cglib/2.1_3_7/org.apache.servicemix.bundles.cglib-2.1_3_7.jar, file:/data/m2_repository/org/apache/camel/camel-rabbitmq/2.15.3/camel-rabbitmq-2.15.3.jar, file:/data/m2_repository/com/rabbitmq/amqp-client/3.3.4/amqp-client-3.3.4.jar, file:/data/m2_repository/commons-pool/commons-pool/1.6/commons-pool-1.6.jar, file:/data/m2_repository/org/springframework/spring-web/4.1.7.RELEASE/spring-web-4.1.7.RELEASE.jar, file:/data/m2_repository/org/springframework/spring-aop/4.1.7.RELEASE/spring-aop-4.1.7.RELEASE.jar, file:/data/m2_repository/org/springframework/spring-context/4.1.7.RELEASE/spring-context-4.1.7.RELEASE.jar, file:/data/m2_repository/org/springframework/spring-expression/4.1.7.RELEASE/spring-expression-4.1.7.RELEASE.jar, file:/data/m2_repository/org/springframework/boot/spring-boot-starter/1.2.6.RELEASE/spring-boot-starter-1.2.6.RELEASE.jar, file:/data/m2_repository/org/springframework/boot/spring-boot/1.2.6.RELEASE/spring-boot-1.2.6.RELEASE.jar, file:/data/m2_repository/org/springframework/boot/spring-boot-autoconfigure/1.2.6.RELEASE/spring-boot-autoconfigure-1.2.6.RELEASE.jar, file:/data/m2_repository/org/springframework/boot/spring-boot-starter-logging/1.2.6.RELEASE/spring-boot-starter-logging-1.2.6.RELEASE.jar, file:/data/m2_repository/org/slf4j/jul-to-slf4j/1.7.12/jul-to-slf4j-1.7.12.jar, file:/data/m2_repository/org/slf4j/log4j-over-slf4j/1.7.12/log4j-over-slf4j-1.7.12.jar, file:/data/m2_repository/ch/qos/logback/logback-classic/1.1.3/logback-classic-1.1.3.jar, file:/data/m2_repository/ch/qos/logback/logback-core/1.1.3/logback-core-1.1.3.jar, file:/data/m2_repository/org/yaml/snakeyaml/1.14/snakeyaml-1.14.jar, file:/home/ceefour/idea/lib/idea_rt.jar]
> 2015-10-02 18:14:10.728 INFO 30914 --- [ main] utoConfigurationReportLoggingInitializer :
> Error starting ApplicationContext. To display the auto-configuration report enable debug logging (start with --debug)
> 2015-10-02 18:14:10.733 ERROR 30914 --- [ main] o.s.boot.SpringApplication : Application startup failed
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'droolsRouter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.kie.api.runtime.KieSession org.lskk.lumen.reasoner.DroolsRouter.kieSession; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
> at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:480)
> at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java)
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)
> at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:687)
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
> at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
> at org.lskk.lumen.reasoner.ReasonerApp.main(ReasonerApp.java:19)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.kie.api.runtime.KieSession org.lskk.lumen.reasoner.DroolsRouter.kieSession; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
> at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
> ... 21 common frames omitted
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
> ... 23 common frames omitted
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
> ... 35 common frames omitted
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieContainer(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig.kieSession(DroolsConfig.java:38)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.CGLIB$kieSession$2(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b$$FastClassBySpringCGLIB$$c1d93b2c.invoke(<generated>)
> at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieSession(<generated>)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
> ... 36 common frames omitted
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
> ... 57 common frames omitted
> Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at com.google.inject.internal.Annotations$AnnotationChecker.<init>(Annotations.java:104)
> at com.google.inject.internal.Annotations.<clinit>(Annotations.java:122)
> at com.google.inject.Key.ensureRetainedAtRuntime(Key.java:362)
> at com.google.inject.Key.strategyFor(Key.java:354)
> at com.google.inject.Key.get(Key.java:222)
> at org.eclipse.sisu.wire.ParameterKeys.<clinit>(ParameterKeys.java:28)
> at org.eclipse.sisu.wire.DependencyAnalyzer.<init>(DependencyAnalyzer.java:92)
> at org.eclipse.sisu.wire.ElementAnalyzer.<init>(ElementAnalyzer.java:87)
> at org.eclipse.sisu.wire.WireModule.configure(WireModule.java:74)
> at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:229)
> at com.google.inject.spi.Elements.getElements(Elements.java:103)
> at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
> at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
> at com.google.inject.Guice.jrCreateInjector(Guice.java:94)
> at com.google.inject.Guice.createInjector(Guice.java)
> at com.google.inject.Guice.createInjector(Guice.java:71)
> at com.google.inject.Guice.createInjector(Guice.java:61)
> at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:477)
> at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:203)
> at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:167)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:166)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:140)
> at org.kie.scanner.embedder.PlexusComponentProvider.<init>(PlexusComponentProvider.java:37)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildComponentProvider(MavenEmbedderUtils.java:56)
> at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:75)
> at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:69)
> at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:55)
> at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:49)
> at org.kie.scanner.MavenPomModelGenerator.parse(MavenPomModelGenerator.java:36)
> at org.drools.compiler.kproject.xml.PomModel$Parser.parse(PomModel.java:89)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.generatePomPropertiesFromPom(ClasspathKieProject.java:311)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPomProperties(ClasspathKieProject.java:226)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:183)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:102)
> at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:99)
> at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:82)
> at org.lskk.lumen.reasoner.DroolsConfig.kieContainer(DroolsConfig.java:33)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.CGLIB$kieContainer$1(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b$$FastClassBySpringCGLIB$$c1d93b2c.invoke(<generated>)
> at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieContainer(<generated>)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
> ... 58 common frames omitted
> Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'droolsRouter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.kie.api.runtime.KieSession org.lskk.lumen.reasoner.DroolsRouter.kieSession; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
> at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
> at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:480)
> at org.springframework.context.support.AbstractApplicationContext.jrLockAndRefresh(AbstractApplicationContext.java)
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)
> at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:687)
> at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)
> at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:139)
> at org.lskk.lumen.reasoner.ReasonerApp.main(ReasonerApp.java:19)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.kie.api.runtime.KieSession org.lskk.lumen.reasoner.DroolsRouter.kieSession; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
> at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
> ... 21 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieSession' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
> at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
> ... 23 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieSession]: Factory method 'kieSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
> ... 35 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kieContainer' defined in class path resource [org/lskk/lumen/reasoner/DroolsConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1119)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1014)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:322)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieContainer(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig.kieSession(DroolsConfig.java:38)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.CGLIB$kieSession$2(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b$$FastClassBySpringCGLIB$$c1d93b2c.invoke(<generated>)
> at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieSession(<generated>)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
> ... 36 more
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.kie.api.runtime.KieContainer]: Factory method 'kieContainer' threw exception; nested exception is java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
> at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
> ... 57 more
> Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.collect.MapMaker.makeComputingMap(Lcom/google/common/base/Function;)Ljava/util/concurrent/ConcurrentMap; from class com.google.inject.internal.Annotations$AnnotationChecker
> at com.google.inject.internal.Annotations$AnnotationChecker.<init>(Annotations.java:104)
> at com.google.inject.internal.Annotations.<clinit>(Annotations.java:122)
> at com.google.inject.Key.ensureRetainedAtRuntime(Key.java:362)
> at com.google.inject.Key.strategyFor(Key.java:354)
> at com.google.inject.Key.get(Key.java:222)
> at org.eclipse.sisu.wire.ParameterKeys.<clinit>(ParameterKeys.java:28)
> at org.eclipse.sisu.wire.DependencyAnalyzer.<init>(DependencyAnalyzer.java:92)
> at org.eclipse.sisu.wire.ElementAnalyzer.<init>(ElementAnalyzer.java:87)
> at org.eclipse.sisu.wire.WireModule.configure(WireModule.java:74)
> at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:229)
> at com.google.inject.spi.Elements.getElements(Elements.java:103)
> at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:136)
> at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
> at com.google.inject.Guice.jrCreateInjector(Guice.java:94)
> at com.google.inject.Guice.createInjector(Guice.java)
> at com.google.inject.Guice.createInjector(Guice.java:71)
> at com.google.inject.Guice.createInjector(Guice.java:61)
> at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:477)
> at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:203)
> at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:167)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:166)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildPlexusContainer(MavenEmbedderUtils.java:140)
> at org.kie.scanner.embedder.PlexusComponentProvider.<init>(PlexusComponentProvider.java:37)
> at org.kie.scanner.embedder.MavenEmbedderUtils.buildComponentProvider(MavenEmbedderUtils.java:56)
> at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:75)
> at org.kie.scanner.embedder.MavenEmbedder.<init>(MavenEmbedder.java:69)
> at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:55)
> at org.kie.scanner.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:49)
> at org.kie.scanner.MavenPomModelGenerator.parse(MavenPomModelGenerator.java:36)
> at org.drools.compiler.kproject.xml.PomModel$Parser.parse(PomModel.java:89)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.generatePomPropertiesFromPom(ClasspathKieProject.java:311)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.getPomProperties(ClasspathKieProject.java:226)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:183)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.fetchKModule(ClasspathKieProject.java:141)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.discoverKieModules(ClasspathKieProject.java:112)
> at org.drools.compiler.kie.builder.impl.ClasspathKieProject.init(ClasspathKieProject.java:84)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.<init>(KieContainerImpl.java:102)
> at org.drools.compiler.kie.builder.impl.KieServicesImpl.newKieClasspathContainer(KieServicesImpl.java:99)
> at org.drools.compiler.kie.builder.impl.KieServicesImpl.getKieClasspathContainer(KieServicesImpl.java:82)
> at org.lskk.lumen.reasoner.DroolsConfig.kieContainer(DroolsConfig.java:33)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.CGLIB$kieContainer$1(<generated>)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b$$FastClassBySpringCGLIB$$c1d93b2c.invoke(<generated>)
> at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
> at org.lskk.lumen.reasoner.DroolsConfig$$EnhancerBySpringCGLIB$$79c7351b.kieContainer(<generated>)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
> ... 58 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2717) [DMN Editor] Custom data-types - Unit tests
by Guilherme Carreiro (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2717?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro edited comment on DROOLS-2717 at 7/11/18 8:18 AM:
---------------------------------------------------------------------
[~jomarko],
This JIRA is just part of an effort to show DROOLS-2563 progress.
The goal is to cover 100% of the new code* with unit tests (as we always do).
\* Except the *View.java files that need to be as thin as possible.
was (Author: karreiro):
[~jomarko],
This JIRA is just part of an effort to show DROOLS-2563 progress.
The goal is to cover 100% of the new code* with unit tests (as we always do).
* Except the *View.java files that need to be as thin as possible.
> [DMN Editor] Custom data-types - Unit tests
> -------------------------------------------
>
> Key: DROOLS-2717
> URL: https://issues.jboss.org/browse/DROOLS-2717
> Project: Drools
> Issue Type: Sub-task
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-2717) [DMN Editor] Custom data-types - Unit tests
by Guilherme Carreiro (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2717?page=com.atlassian.jira.plugi... ]
Guilherme Carreiro edited comment on DROOLS-2717 at 7/11/18 8:18 AM:
---------------------------------------------------------------------
[~jomarko],
This JIRA is just part of an effort to show DROOLS-2563 progress.
The goal is to cover 100% of the new code* with unit tests (as we always do).
\* Except the *View.java files that need to be as thin as possible (considering the MVP pattern).
was (Author: karreiro):
[~jomarko],
This JIRA is just part of an effort to show DROOLS-2563 progress.
The goal is to cover 100% of the new code* with unit tests (as we always do).
\* Except the *View.java files that need to be as thin as possible.
> [DMN Editor] Custom data-types - Unit tests
> -------------------------------------------
>
> Key: DROOLS-2717
> URL: https://issues.jboss.org/browse/DROOLS-2717
> Project: Drools
> Issue Type: Sub-task
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-773) Can't load correct model class info when incrementally load kie jar
by Tibor Zimányi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-773?page=com.atlassian.jira.plugin... ]
Tibor Zimányi closed DROOLS-773.
--------------------------------
Resolution: Cannot Reproduce
This is probably fixed in latest versions. Closing this.
> Can't load correct model class info when incrementally load kie jar
> -------------------------------------------------------------------
>
> Key: DROOLS-773
> URL: https://issues.jboss.org/browse/DROOLS-773
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.2.0.Final
> Environment: drools version: 6.2.0.Final
> -bash-4.1$ java -version
> java version "1.7.0_76"
> Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
> -bash-4.1$ lsb_release -a
> LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
> Distributor ID: CentOS
> Description: CentOS release 6.6 (Final)
> Release: 6.6
> Codename: Final
> Reporter: Hanbing Luo
> Assignee: Mario Fusco
>
> Can't load correct model class info when incrementally load kie jar. New created field/method in model class can't be used in rule although rule compile successfully in kie GUI.
> I also did some investigation and looks like changed model class info is not correct in getTypeDeclarations.
> if (kiePackage instanceof InternalKnowledgePackage) {
> InternalKnowledgePackage ikp = (InternalKnowledgePackage) kiePackage;
> Map<String,TypeDeclaration> modelsMap = ikp.getTypeDeclarations();
> }
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (DROOLS-789) Drools - create data objects from db metadata
by Tibor Zimányi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-789?page=com.atlassian.jira.plugin... ]
Tibor Zimányi closed DROOLS-789.
--------------------------------
Resolution: Out of Date
Closing this as out of date for now.
> Drools - create data objects from db metadata
> ---------------------------------------------
>
> Key: DROOLS-789
> URL: https://issues.jboss.org/browse/DROOLS-789
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 6.2.0.Final
> Reporter: Aurel Deac
> Assignee: Mario Fusco
>
> Possibility to create some entities (data objects) based on a given db schema from the kie drools workbench.
> So I do not want to create each and every data object I need, there should be a way to specify that I need those data objects which are contained in a db schema.
> Is there a possible way to create this feature?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years