在使用Eclipse从嵌入式容器运行Java EE 6应用程序时,出现此错误的原因可能是什么?
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存储库设置进行了一些更改。
发布于 2013-01-02 15:24:44
最终发现,在“Web”的“missing...including Build Path > Libraries”中,有一些库是以Glassfish 3.1.2为主的。
发布于 2013-01-01 22:23:20
当你搜索PWC1391时,你有没有试过谷歌给你的建议?即解决与Jersey库的潜在版本冲突(即将其从项目中移除)。
https://stackoverflow.com/questions/14109614
复制相似问题