<< JVM调优总结 -Xms -Xmx -Xmn -Xss - 天下无贼 - 51CTO技术博客 | 首页 | 2013年十五个最新的科技及IT技术RSS订阅源 >>

weblogic9.x与 xfire1.2.6冲突解决心得 - ljhmustang的日志 - 网易博客

 

  1. Caused by: java.lang.UnsupportedOperationException   
  2.     at weblogic.xml.stax.XMLStreamReaderBase.getTextCharacters(XMLStreamReaderBase.java:487) 

解决方法1: 
添加weblogic.xml文件到WEN-INF
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">
    <context-root>/sxwh</context-root>
    <container-descriptor>
        <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>

</weblogic-web-app> 

 

解决方法2: 

My solution to the problem in the original post: In the META-INF directory of the JAR file add a directory namedservices. In this directory place a file named javax.xml.stream.XMLInputFactory with the following contents:com.sun.xml.internal.stream.XMLInputFactoryImplFor more details seehttp://docs.oracle.com/javase/6/docs/api/javax/xml/stream/XMLInputFactory.html#newFactory%28%29

阅读全文……




发表评论 发送引用通报