2016-10-06 7 views
0

EARパッケージがWAS8.5.5.7にデプロイされています。 UIが表示できます。しかし、UIがJava関数をトリガーしようとすると、私は以下の応答を得ます。org.springframework.web.servlet.DispatcherServletが見つかりましたが、別の必須クラスがありません

Error 404: javax.servlet.UnavailableException: SRVE0203E: Servlet [rrbapp]: org.springframework.web.servlet.DispatcherServlet was found, but is missing another required class. 

SRVE0206E: This error typically implies that the servlet was originally compiled with classes which cannot be located by the server. 

SRVE0187E: Check your class path to ensure that all classes required by the servlet are present.SRVE0210I: This problem can be debugged by recompiling the servlet using only the classes in the application's runtime class path 

SRVE0234I: Application class path=[/opt/WebSphere85/profiles/appprofile/installedApps/wascell/abcapp.ear/cn-abc-web-app-1.0.0.war/WEB-INF/classes: 
/opt/WebSphere85/profiles/appprofile/installedApps/wascell/rrbapp.ear/cn-abc-web-app-1.0.0.war/WEB-INF/lib/cn-abc-domain-1.0.0.jar: 
/opt/WebSphere85/profiles/appprofile/installedApps/wascell/rrbapp.ear/cn-abc-web-app-1.0.0.war/WEB-INF/lib/cn-abc-db-object-1.0.0.jar: 
/opt/WebSphere85/profiles/appprofile/installedApps/wascell/rrbapp.ear/cn-abc-web-app-1.0.0.war/WEB-INF/lib/cn-abc-web-1.0.0.jar: 
/opt/WebSphere85/profiles/appprofile/installedApps/wascell/rrbapp.ear/cn-abc-web-app-1.0.0.war/WEB-INF/lib/commons-logging-1.2.jar: 
.... 

答えて

0

それはあなたがmvn clean installを実行しようとしている、それはあなたの問題を解決する必要があり、ジャー依存エラーになりそうです。 このコマンドを実行して再度再デプロイしてください

+0

私は自分のプロジェクトで「mvn clean install」を試してから、earパッケージをビルドしてWASサーバーに再度インストールしました。しかし、同じエラーメッセージが表示されます。私のパッケージとWASサーバーとの間のjarの競合に関連付けることは可能ですか?ローカルのEclipseで動作します。 Tomcatサーバーでも同じEARパッケージを使用できます。しかし、WASサーバーでは動作しません。 – Hunter

+0

はいbczサーバライブラリの相違点 – mhasan

+0

この「DispatcherServlet」問題につながるjarファイルを教えてください。 spring-web、spring-webmvc?または他の? – Hunter

0

"slf4j-log4j12" jarをパッケージに追加した後、このエラーが発生しなくても動作します。私はその理由は、ログはサーバー内にこのjarがなければ印刷できないので、プログラムは最初に停止します。

関連する問題