Home > Enterprise >  Weblogic12C launched an error
Weblogic12C launched an error

Time:09-20

Weblogic after upgrading to 12 c, the original code deployment error
Weblogic. Management. DeploymentException: Java. Lang. ClassNotFoundException: org. Hibernate. Session
The at weblogic. Application. Internal. BaseDeployment. ThrowAppException (BaseDeployment. Java: 132)
The at weblogic. Application. Internal. BaseDeployment. Prepare (BaseDeployment. Java: 244)
The at weblogic. Application. Internal. SingleModuleDeployment. Prepare (SingleModuleDeployment. Java: 52)
The at weblogic. Application. Internal. DeploymentStateChecker. Prepare (DeploymentStateChecker. Java: 158)
The at weblogic. Deploy. Internal. Targetserver. AppContainerInvoker. Prepare (AppContainerInvoker. Java: 65)
Truncated. See the log file for complete stacktrace
Under Caused By: Java. Lang. ClassNotFoundException: org. Hibernate. Session
The at weblogic. Utils. Classloaders. GenericClassLoader. FindLocalClass (GenericClassLoader. Java: 1029)
The at weblogic. Utils. Classloaders. GenericClassLoader. FindClass (GenericClassLoader. Java: 990)
The at weblogic. Utils. Classloaders. ChangeAwareClassLoader. FindClass (ChangeAwareClassLoader. Java: 104)
The at weblogic. Utils. Classloaders. GenericClassLoader. DoFindClass (GenericClassLoader. Java: 611)
The at weblogic. Utils. Classloaders. GenericClassLoader. LoadClass (GenericClassLoader. Java: 543)
Truncated. See the log file for complete stacktrace

But in the actual project, did not use hibernate, another project start normal, don't know where is the problem, strange.

CodePudding user response:

Search all of your project code org. Hibernate. Session
The question is can't find the hibernate jar, there are two reasons
1, hibernate jar without introduction, if there is no introduction, directly to the hibernate. The jar can be introduced,
2, put the jar package in the right position, I was put in the right position, in order to classification, and built a folder under the lib, lead to resources can not find the jar,
  • Related