项目从weblogic10.0.2迁移到weblogic10.3.6遇到的问题
来源:互联网 发布:考研要不要考数学知乎 编辑:程序博客网 时间:2024/05/16 06:29
1、java.lang.ExceptionInInitializerError和java.lang.NoClassDefFoundError,在我这,这两个错误是同时出现的。
解决方法:出现这种情况一般是xml-apis.jar和weblogic解析器冲突导致的问题,这里,我是把xml-apis.jar从WEB-INF/lib底下删除。
解决方法:在WEB-INF/weblogic.xml文件中加入元素prefer-web-inf-classes,值为TRUE。下面附prefer-web-inf-classes的配置和说明。
<container-descriptor><prefer-web-inf-classes> true </prefer-web-inf-classes></container-descriptor>
prefer-web-inf-classes ElementThe weblogic.xml Web application deployment descriptor contains a <prefer-web-inf-classes> element (a sub-element of the <container-descriptor> element). By default, this element is set to False. Setting this element to True subverts the classloader delegation model so that class definitions from the Web application are loaded in preference to class definitions in higher-level classloaders. This allows a Web application to use its own version of a third-party class, which might also be part of WebLogic Server. See weblogic.xml Deployment Descriptor Elements.When using this feature, you must be careful not to mix instances created from the Web application's class definition with issuances created from the server's definition. If such instances are mixed, a ClassCastException results.
2、The validator class: "org.apache.taglibs.standard.tlv.JstlCoreTLV" has failed with the following exception:"java.lang.ClassCastException: weblogic.xml.jaxp.RegistrySAXParserFactory cannot be cast to javax.xml.parsers.SAXParserFactory".
<%@page contentType="text/html;charset=utf-8"%>
^---------------------------------------------^
^---------------------------------------------^
3、java.lang.ClassCastException: weblogic.xml.jaxp.RegistryDocumentBuilder
解决方法:weblogic解析xml时和第三方包冲突,删掉WEB-INF/lib的xercesImpl.jar。
- 项目从weblogic10.0.2迁移到weblogic10.3.6遇到的问题
- Tomcat6 迁移到 WebLogic10 遇到的问题.
- 从websphere6.1迁移到weblogic10.3的问题总结
- 关于从WEBLOGIC9升级到WEBLOGIC10遇到的问题
- 从websphere6.1迁移到weblogic10.3的问题总结--转
- weblogic10使用时遇到的问题总结
- weblogic10与hibernate3中antlr.jar包冲突问题解决(bonita bpm部署到weblogic10遇到的问题)
- weblogic10.3.6部署项目的过程描述
- Weblogic10+EJB3.0下的MDB遇到问题及解决
- Weblogic10.3.6发布javaWeb项目
- WebLogic10下无法部署项目问题
- 将JBoss下开发的EJB3.0数据库应用迁移到WebLogic10.3的注意事项
- tomcat中的程序部署到weblogic10.3.6
- Weblogic10部署Web项目
- Weblogic10跨域Session丢失的问题
- weblogic10控制台的启动慢问题
- WebLogic10读取文件路径的问题
- weblogic10启动时的JVM问题
- 摘要
- android学习笔记-拦截短信
- Delphi中资源文件使用详解
- 效率极低人群之七大习惯
- 动态加载、移除、替换js/css文件
- 项目从weblogic10.0.2迁移到weblogic10.3.6遇到的问题
- ndk-gdb对java/native code联合调试
- PHP中CURL方法curl_setopt()函数的一些参数
- 在form applet上做 link
- 软件项目经常遇到的 15 种风险及其预防措施
- poj 2421(最小生成树)
- excel下拉菜单(1\2\3级)制作方法介绍
- C++ string 用法详解
- 核心动画 CoreAnimation