Home > Back-end >  Weblogic12C launched an error
Weblogic12C launched an error

Time:01-12

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:

Java. Lang. ClassNotFoundException: org. Hibernate. The Session class not found, the lack of hibernate jar package?

CodePudding user response:

reference 1st floor yuxiangaaaaa response:
Java lang. ClassNotFoundException: org. Hibernate. The Session class not found, the lack of hibernate jar package?

Key project doesn't hibernate,,,

CodePudding user response:

refer to the second floor zxd297139205 response:
Quote: refer to 1st floor yuxiangaaaaa response:

Java. Lang. ClassNotFoundException: org. Hibernate. The Session class not found, the lack of hibernate jar package?

Key project doesn't hibernate,,,


Whether you have used hibernate, as long as the reference org. Hibernate. This class Session, he shall add the jar package, unless you don't have to org. Hibernate. The Session

CodePudding user response:

The building Lord, behind the problem to solve, how to solve
  • Related