weblogic配置:<prefer-web-inf-classes>true</prefer-web-inf-classes>

<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,解决方法:加上上面语句
posted @ 2016-05-11 21:48  sz_zzm  阅读(4666)  评论(0)    收藏  举报