Getting error of NoClassDefFoundError: org/kie/internal/builder/conf/SessionCacheOption while deploying application
Issue
- Getting following exception while trying to deploy
BRMS
application.
...
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, tools, and much more.