2

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リポジトリのセットアップにいくつかの変更を加えました。

4

2 に答える 2

0

を検索したときに Google が生成する候補を試しましたPWC1391か? つまり、Jersey ライブラリとの潜在的なバージョンの競合を解決します (つまり、プロジェクトから削除します)。

于 2013-01-01T14:23:19.687 に答える
0

最後に、いくつかのライブラリが欠落していることがわかりました... Glassfish 3.1.2 が「Web」の「Java Build Path > Libraries」からの主要なライブラリです。

于 2013-01-02T07:24:43.733 に答える