获取Servlet:“ AxisServlet”未能在Web应用程序中启动时预加载Weblogic 12c中的java.lang.StackOverflowError

问题描述 投票:0回答:1

在WLS 12c上部署应用程序时,我遇到以下错误

<Jun 8, 2020 11:02:03,120 AM IST> <Error> <HTTP> <BEA-101216> <Servlet: "AxisServlet" failed to 
preload on startup in Web application: "MyApplication1.0.war".
java.lang.StackOverflowError
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader$3.next(URLClassLoader.java:601)
    at java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:626)
    at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:45)
    at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:54)
    Truncated. see log file for complete stacktrace
>
 <Jun 8, 2020 11:02:08,698 AM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state 
to true for the application "MyApplication1.0".
weblogic.application.ModuleException: java.lang.StackOverflowError
    at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    Truncated. see log file for complete stacktrace
 Caused By: java.lang.StackOverflowError
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader$3.next(URLClassLoader.java:601)
    at java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:626)
    at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:45)
    at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:54)
    Truncated. see log file for complete stacktrace

下面是我的项目结构enter image description here

同一项目在Weblogic 11G上正常运行

java stack-overflow axis2 weblogic12c
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.