0 返信 最新の回答 日時: Sep 8, 2014 4:47 PM ユーザー:2747566

    ailed to parse runtime descriptor: java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory

    2747566

      Hi,

      When trying to deploy the CXF2.3 service on weblogic 12.1.3 and jdk1.7 so causing thje below issue.
      weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory

      After going through few forum site not got exact solution. After doing any changes in application like in weblogic.mxl class loader false or removing anb suggested jar from project getting the below error:

      weblogic.management.DeploymentException: com.sun.xml.ws.transport.http.servlet.WSServletException: WSSERVLET11: failed to parse runtime descriptor: invalid element "

      {http://www.springframework.org/schema/beans}

      beans" in runtime descriptor (line 4)

      Please share yopur input on this.

      Note: Same Project is working fine on weblogic 12C and jdk1.6 . But not on latest version of weblogic 12.1.3 and jdk1.7