jar包与was版本不兼容怎么办

时间:2022-11-30 19:35:49

  wsdl4j-1.6.1.jar包与WAS的版本不匹配,造成一应用无法正常运行,解决办法如下,以此记录。

  针对WebSphere Versions < 6.1.0.29版本

  增加wsdl4j-1.6.1.jar包到 endorsed文件夹,如没有可新建。

  具体位置在 $WebSphere_HOME/java/jre/lib/endorsed

  下面紧接着进入WebSphere的控制台---application----enterprise application,找到你的应用点击进去,然后选择"Class loading and update detection".

•选择 "Classes loaded with application class loader first"

•选择 "Class loader for each war file in application"

jar包与was版本不兼容怎么办

最后还需重启 Websphere server. (Because we changed the endorsed folder, we need to restart it to make it take effect).


#Please make sure your classpath doesn't have the servlet-2.5 library, since WebSphere6.1 is servlet-2.4 compliant!

本文出自 “滴水穿石孙杰” 博客,请务必保留此出处http://xjsunjie.blog.51cto.com/999372/1225169