是否是tomcat和weblogic的jar加载顺序不同造成的呢?
楼主的项目中有没有weblogic.xml文件呢?没有的话可以将weblogic.xml 添加上再试试看weblogic.xml<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
楼主的项目中有没有weblogic.xml文件呢?没有的话可以将weblogic.xml 添加上再试试看weblogic.xml<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
在JAVA_OPTIONS中加入:-Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory
-Djavax.xml.stream.XMLOutputFactory=com.ctc.wstx.stax.WstxOutputFactory
-Davax.xml.stream.XMLEventFactory=com.ctc.wstx.stax.WstxEventFactory并把wstx-asl.JAR包拷贝到了jdk1.6.21\jre\lib\ext下面。结果启动 weblogic崩溃。