首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >javax.servlet.ServletException: SRVE0207E

javax.servlet.ServletException: SRVE0207E
EN

Stack Overflow用户
提问于 2013-01-30 18:03:16
回答 1查看 15.7K关注 0票数 2

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

我已经在WEB-INF/lib中放置了所有需要的jars,多次重新构建应用程序,但都无法解析它……

代码语言:javascript
复制
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文件已经过验证,没有错误。

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

EN

回答 1

Stack Overflow用户

发布于 2015-06-11 07:40:22

这是因为兼容性问题。

当我包含jersey jars时,我得到了这个错误。有些jars至少需要jdk 1.7

我在pom.xml中降低了jars的版本。

它对我来说运行得很好。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14601217

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档