我试图在weblogic服务器中部署spring-boot应用程序。 因此,我遵循一些文档化的说明,例如:
- create webapp folder
- create dispatcherServlet-servlet.xml
- create weblogic.xml
- make MyApplication class extends
SpringBootServletInitializer and implements WebApplicationInitializer,
- turn the scope of embedded server to provided
{
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
}
- packaging to WAR in pom.xml
Unfortunetely, I'm getting:
<blockquote>
May 30, 2018 11:51:54 AM BST Warning Deployer BEA-149078 Stack trace for message 149004
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
</blockquote>
我尝试了一些事情,但我无法弄清楚为什么部署为空?
有任何线索吗?
由于 锐