首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >javax.servlet.ServletException: servlet的PWC1391: Servlet.init() <project>.webservice.ApplicationConfig抛出异常

问javax.servlet.ServletException: servlet的PWC1391: Servlet.init() <project>.webservice.ApplicationConfig抛出异常
EN

Stack Overflow用户
提问于 2013-01-01 18:22:21
回答 2查看 2K关注 0票数 2

在使用Eclipse从嵌入式容器运行Java EE 6应用程序时,出现此错误的原因可能是什么?

代码语言:javascript
复制
HTTP Status 500 -

type Exception report

message

description: The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: PWC1391: Servlet.init() for servlet <project>.webservice.ApplicationConfig threw exception

root cause

com.sun.jersey.spi.inject.Errors$ErrorMessagesException

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 3.1.2.2 logs.

编辑:基本上,自从我成功运行它以来,我升级了eclipse,并对项目(重构/重命名变量)和svn存储库设置进行了一些更改。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2013-01-02 15:24:44

最终发现,在“Web”的“missing...including Build Path > Libraries”中,有一些库是以Glassfish 3.1.2为主的。

票数 0
EN

Stack Overflow用户

发布于 2013-01-01 22:23:20

当你搜索PWC1391时,你有没有试过谷歌给你的建议?即解决与Jersey库的潜在版本冲突(即将其从项目中移除)。

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

https://stackoverflow.com/questions/14109614

复制
相关文章

相似问题

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