0

WAR ファイルを Websphere アプリケーション サーバーにデプロイしているときに、次のエラーが発生します。

1. The EAR file could be corrupt and/or incomplete. Make sure that the application is at a compatible Java(TM) Platform, Enterprise Edition (Java EE) level for the current version of WebSphere(R) Application Server.
 2. org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml

現在の web.xml に問題があることは理解していますが、修正する前に問題を見つけるにはどうすればよいでしょうか。

Note: Exporting the WAR file from Eclipse
4

1 に答える 1

2

この不適切な DeploymentDescriptorLoadException メッセージは、web.xml に何か問題がある可能性があることを意味します。PROFILE_HOME/logs/SERVER/SystemOut.log (コンソールからデプロイする場合) または PROFILE_HOME/logs/wsadmin.traceout (wsadmin からデプロイする場合) を確認します。これらのログの 1 つに、実際の問題を含む「原因」を含む例外スタック トレースが含まれているはずです。

于 2012-11-16T15:45:02.180 に答える