My Oracle Support Banner

CNFE Thrown in Production Mode(not in Development Mode) Weblogic 12.1.3 (Doc ID 2386446.1)

Last updated on APRIL 15, 2018

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3.0.0 version, ClassNotFound Exception thrown in production mode, but not in development mode with same application is deployed. 


2017/11/20 15:12:41,717| ERROR |org.springframework.web.context.ContextLoader                         | Context initialization failed 
java.lang.NoClassDefFoundError: org/hibernate/engine/SessionImplementor 
       at java.lang.Class.getDeclaredMethods0(Native Method) 
       at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) 
       at java.lang.Class.getDeclaredMethods(Class.java:1975) 
       at org.springframework.util.ReflectionUtils.getDeclaredMethods(ReflectionUtils.java:612) 
       at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:524) 
       at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:510) 
       at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor.java:243)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanFactory.java:1069)
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042) 
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) 
       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) 
       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) 
       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) 
       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) 
       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) 
       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776) 
       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861) 
       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) 
       at aa.aa.aa.spring.ContainerApplicationContextInitializer.initialize(ContainerApplicationContextInitializer.java:21) 
       at org.springframework.web.context.ContextLoader.customizeContext(ContextLoader.java:483) 
       at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) 
       at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326) 
       at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) 
       at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:678) 
       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) 
       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) 
       at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.