javax.servlet.ServletException:SRVE0207E

时间:2013-01-30 10:03:16

标签: servlets

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

我已将所有必需的罐子放在WEB-INF / lib上,多次重建app但无法解决...

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文件已经过验证且没有错误。

请告诉我解决此例外的可能解决方案。

1 个答案:

答案 0 :(得分:0)

这是因为兼容性问题。

当我加入球衣罐时,我收到了这个错误。有些罐子需要最低jdk 1.7

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

这对我来说很好。