在WAS7.0服务器上发布EAR文件时,我遇到以下异常。
我已经在WEB-INF/lib中放置了所有需要的jars,多次重新构建应用程序,但都无法解析它……
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文件已经过验证,没有错误。
请告诉我解决此异常的可能解决方案。
发布于 2015-06-11 07:40:22
这是因为兼容性问题。
当我包含jersey jars时,我得到了这个错误。有些jars至少需要jdk 1.7
我在pom.xml中降低了jars的版本。
它对我来说运行得很好。
https://stackoverflow.com/questions/14601217
复制相似问题