java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel
by Jason Reilly
Hi all,
I haven't scoured this list for a similar problem/solution...but I am
getting a "java.lang.NoClassDefFoundError: org/apache/xerces/xs/XSModel"
exception when trying to run wsprovide maven plugin. Anyone else getting
this exception?
The following are the dependencies in my pom.xml.
<dependencies>
<dependency>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-common</artifactId>
<version>1.4.1.SP1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-framework</artifactId>
<version>3.4.1.GA</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.ws</groupId>
<artifactId>jbossws-spi</artifactId>
<version>1.4.1.SP1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native-client</artifactId>
<version>3.4.1.GA</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossxb</artifactId>
<version>2.0.3.GA</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jboss.ws.native</groupId>
<artifactId>jbossws-native-core</artifactId>
<version>3.4.1.GA</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>com.sun.istack</groupId>
<artifactId>istack-commons-runtime</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.ejb3</groupId>
<artifactId>jboss-ejb3-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<scope>compile</scope>
</dependency>
Thanks for any help/direction.
--
Jason Reilly
Software Engineer
13 years, 1 month