Getting error of NoClassDefFoundError: org/kie/internal/builder/conf/SessionCacheOption while deploying application
Issue
- Getting following exception while trying to deploy
BRMSapplication.
...
16:21:27,682 WARN [org.springframework.web.context.support.XmlWebApplicationContext] (ServerService Thread Pool -- 56) Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'readJMS' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'myKSession' while setting bean property 'kieSession'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myKSession': Cannot resolve reference to bean 'myKBase' while setting bean property 'kBase'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myKBase': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/kie/internal/builder/conf/SessionCacheOption
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:336) [spring-beans-4.1.1.RELEASE.jar:4.1.1.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) [spring-beans-4.1.1.RELEASE.jar:4.1.1.RELEASE]
...
Environment
-
Red Hat JBoss Enterprise Application Platform
- 6.x
-
Red Hat JBoss BRMS
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
