Weblogic优先加载jar包配置
2011-06-19 16:24
447 查看
weblogic自带了很多jar包 当工程中的jar和weblogic自带jar版本不一致时 往往会出现错误。
为了解决在weblogic中jar包冲突的问题 你可以在web-inf下创建一个weblogic.xml
内容如:
<?xml version="1.0"?>
<weblogic-web-app
xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>//优先加载web工程中的jar包
</container-descriptor>
</weblogic-web-app>
转载请注明地址:http://www.cnblogs.com/likehua/
为了解决在weblogic中jar包冲突的问题 你可以在web-inf下创建一个weblogic.xml
内容如:
<?xml version="1.0"?>
<weblogic-web-app
xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>//优先加载web工程中的jar包
</container-descriptor>
</weblogic-web-app>
转载请注明地址:http://www.cnblogs.com/likehua/
相关文章推荐
- weblogic中优先加载应用中的jar包 prefer-application-packages
- WebLogic优先加载Web应用程序中的jar包
- weblogic中优先加载应用中的jar包 prefer-application-packages
- weblogic 优先加载本工程内的包
- Weblogic.xml 文件配置 优先加载本地jar包及 jsp热部署
- 如何让weblogic优先加载WEB-INF目录下的jar包。而非weblogic 自带的lib包
- Weblogic优先加载jar包配置
- weblogic优先加载web应用lib下的包
- weblogic中优先加载应用中的jar包
- 关于Weblogic优先加载jar包的设置
- WebLogic优先加载Web应用程序中的jar包
- weblogic优先加载项目中的包
- weblogic 中jar包优先级 加载的设置
- Tomcat的class加载的优先顺序一览
- iReport-关于部署在weblogic中的项目用IE访问页面加载慢但是用火狐或者谷歌浏览器访问很快的问题
- iOS webView 远端h5优先加载本地资源
- Tomcat Weblogic JMS 启动无法加载weblogic.jar classnotFouncException
- Tomcat的class加载的优先顺序
- 系统会优先在exe当前目录加载dll
- weblogic重启后,后台没有加载却可以正常访问