weblogic配置:<prefer-web-inf-classes>true</prefer-web-inf-classes>
2013-09-05 11:12
375 查看
<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,解决方法:加上上面语句
<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,解决方法:加上上面语句
相关文章推荐
- weblogic配置:<prefer-web-inf-classes>true</prefer-web-inf-classes>
- weblogic配置<prefer-web-inf-classes>true</prefer-web-inf-classes>
- 只有在配置文件或 Page 指令中将 enableSessionState 设置为 true 时,才能使用会话状态。还请确保在应用程序配置的 <configuration>\<system.web>\
- web.xml配置之<context-param>详解
- 一个web项目web.xml的配置中<context-param>配置作用
- 有在配置文件或 Page 指令中将 enableSessionState 设置为 true 时,才能使用会话状态。还请确保在应用程序配置的 <configuration>\<system.web>\<
- java的web.xml中<url-pattern>配置
- 一个web项目web.xml的配置中<context-param>配置作用
- poe.xml 出现web.xml is missing and <failOnMissingWebXml> is set to true的错误
- Servlet容器中web.xml配置<context-param>与<init-param>
- 只有在配置文件或 Page 指令中将 enableSessionState 设置为 true 时,才能使用会话状态。还请确保在应用程序配置的 <configuration>
- web.xml配置文件中<async-supported>true</async-supported>报错的解决方案
- web.xml配置文件里面的<async-supported>true</async-supported>标签报错
- Spring配置web.xml的<servlet>标签
- web.xml配置中的<mime-mapping>
- Javaweb的web.xml中<url-pattern>配置
- web.xml配置文件中<async-supported>true</async-supported>报错的解决方案
- System.ArgumentException: 回发或回调参数无效。在配置中使用 < pages enableEventValidation="true"/>
- java_web初学笔记之<MyEclipse反编译jad插件配置>
- 一个web项目web.xml的配置中<context-param>配置作用