WebLogic配置jar包冲突

WebLogic配置jar包冲突

<container-descriptor>
     <prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>

上面配置的含义:优先使用Web应用里加载的类,即就是优先加载web-inf下lib中的jar包。

如果什么时候发现在Tomcat下用的好好的,但是放到weblogic下就出了问题,那么多半在\WEB-INF\weblogic.xml添上上面的设置就会好的,当然有可能还需要添加一些jar包。

如果出现错误:org.apache.axis.transport.http.AxisServlet' doesn't have a default constructor
解决方法:加上上面语句

登陆无法连接服务器
javax.xml.ws.soap.SOAPFaultException: Cannot create a secure XMLInputFactory
【解决】删掉Middleware\modules\com.bea.core.stax2_1.0.0.0_3-0-1.jar 和Middleware\modules\com.bea.core.woodstox_1.0.0.0_4-0-5.jar


 上一篇
WebLogic描述文件 WebLogic描述文件
web程序WebLogic下描述文件web程序weblogic下描述文件 weblogic.xml <?xml version="1.0" encoding="UTF-8"?> <weblogic-web-app xmlns="
2020-08-08
下一篇 
WebLogic集群session复制 WebLogic集群session复制
WebLogic集群session复制<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems,
2020-08-08
  目录