Discussion:
[jboss-user] [JBoss Web Services] - Re: ClassNotFoundException: com.sun.org.apache.xerces.internal.dom.DocumentImpl - JBoss-as-7.1.0.Final
Franz Willer
2012-03-12 10:37:12 UTC
Permalink
Franz Willer [https://community.jboss.org/people/fwiller] created the discussion

"Re: ClassNotFoundException: com.sun.org.apache.xerces.internal.dom.DocumentImpl - JBoss-as-7.1.0.Final"

To view the discussion, visit: https://community.jboss.org/message/723137#723137

--------------------------------------------------------------
I had a similar issue deploying a SLSB as webservice and recognized, that my ear has a lot of jars (including saaj) in the lib directory.
After clean up the ears lib to include only my application jars, the ClassNotFoundException isn't thrown anymore!
Maybe this is a hint for solving your problem.

Kind regards

Willi
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/723137#723137]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
jarkko rantavuori
2013-01-15 19:08:56 UTC
Permalink
jarkko rantavuori [https://community.jboss.org/people/jrantav] created the discussion

"Re: ClassNotFoundException: com.sun.org.apache.xerces.internal.dom.DocumentImpl - JBoss-as-7.1.0.Final"

To view the discussion, visit: https://community.jboss.org/message/792090#792090

--------------------------------------------------------------
I solved the same error with

<dependency>
    <groupId>com.sun.xml.parsers</groupId>
    <artifactId>jaxp-ri</artifactId>
    <version>1.4.5</version>
    <scope>runtime</scope>
</dependency>

if it matters, the other libs I had were

<dependency>
    <groupId>org.springframework.ws</groupId>
    <artifactId>spring-ws</artifactId>
    <version>2.1.0.RELEASE</version>
    <classifier>all</classifier>
</dependency>
<dependency>
    <groupId>com.sun.xml.messaging.saaj</groupId>
    <artifactId>saaj-impl</artifactId>
    <version>1.3.20</version>
    <scope>runtime</scope>
</dependency>
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/792090#792090]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
Loading...