2013-01-01 70 views
2

使用Eclipse從嵌入容器運行我的Java EE 6應用程序時出現此錯誤的原因是什麼?javax.servlet.ServletException:PWC1391:servlet的Servlet.init()<project> .webservice.ApplicationConfig引發異常

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倉庫的設置做了一些改動。

回答

0

最後發現有一些庫缺失......包括Glassfish 3.1.2是「Web」的「Java Build Path」庫中的主要組件。

0

您是否嘗試過Google在搜索PWC1391時產生的建議?即解決與Jersey庫存在潛在的版本衝突(即將其從項目中移除)。

+0

是的,但沒有運氣到目前爲止。 – Dharmavir

相關問題