【问题标题】:Websphere Application startup errorWebsphere 应用程序启动错误
【发布时间】:2014-03-06 09:06:56
【问题描述】:

我正在使用 Websphere 7,最近在尝试启动应用程序时遇到此错误。

00000018 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0100E: Uncaught init() exception created by servlet Application Initialization Servlet in application xxx-Portal: java.lang.NullPointerException
at com.xyz.zyx.web.init.ApplicationInitServlet.init(ApplicationInitServlet.java:75)

代码是:

final Properties props =
            init.initialize(url, getServletContext().getRealPath("/WEB-INF/classes"));

不知道突然发生了什么..我必须更改服务器参数,因为我无法更改代码。

【问题讨论】:

    标签: websphere websphere-7


    【解决方案1】:

    解决方法很简单:

    转到已安装的应用程序 > 类加载器和更新检测 > 在 WAR 类加载器策略下,选择“单类加载器”

    现在应用程序将启动。

    经过长时间的努力找到了它。

    【讨论】:

      猜你喜欢
      • 2011-02-23
      • 2013-02-13
      • 1970-01-01
      • 2016-08-25
      • 1970-01-01
      • 2017-06-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多