2

在 WAS7.0 服务器上发布 EAR 文件时,我遇到了异常。

我已将所有必需的 jars 放在 WEB-INF/lib 中,多次重建应用程序但无法解决它...

com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor createServletWrapper 
Servlet action is currently unavailable: SRVE0203E: Servlet [action]: Action Servlet 
was found, but is missing another required class.
SRVE0206E: This error typically implies that the servlet was originally compiled 
with classes which cannot be located by the server.

SRVE0187E: Check your class path to ensure that all classes required by the servlet 
are present.SRVE0210I: This problem can be debugged by recompiling the servlet using 
only the classes in the application's runtime class path

com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor createServletWrapper Error 
occured while preparing the servlet for initialization. 
javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created 
by servlet

我应该怎么做才能解决这个问题?当我在服务器上点击应用程序时得到 404。我的 web.xml 文件已经过验证并且没有错误。

请告诉我解决此异常的可能解决方案。

4

1 回答 1

0

这是因为兼容性问题。

当我包含球衣罐时,我收到了这个错误。一些罐子需要最低 jdk 1.7

我在 pom.xml 中减少了我的 jar 版本。

它对我来说很好。

于 2015-06-10T23:40:21.863 回答