简体   繁体   中英

Ear Deployment is failing with null module after upgrading to Hibernate 5.3 from 5.2, i am using wweblogic 12c 12.1.3

I am migrating hibernate to 5.3.12.Final from 5.2.18.Finl after doing so when I try to deploy my ear to weblogic 12.1.3 it throws following error:

weblogic.application.ModuleException: null
null
at    weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1824)
at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:270)
at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:682)
at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalArgumentException
at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
at weblogic.application.utils.annotation.ClassInfoImpl.<init>    (ClassInfoImpl.java:41)
at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:240)
at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:193)
Truncated. see log file for complete stacktrace

I am also using spring 4.2.3, java 8,

I have tried to exluce cglib and asm liberary from hibernate-core jar and also tried to manually upgrade the version of a 3.1 to a 6.2.1, nothing worked. I also tried to provide asm liberary reference is Weblogic-application.xml

Seems like you are using a class file version that the weblogic server does not support. ASM throws this exception if the class files were compiled with a Java version it does not recognize. Since ASM seems to be shaded, you need to probably upgrade weblogic and the underlying JVM.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM