It seems the issue was that I had the following dependencies set to
<scope>provided</scope> instead of <scope>compile</scope>...
Here is what it should have been...
<!-- JAXB 2.1.5 API -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.1.5</version>
<scope>compile</scope>
</dependency>
<!-- JAX-WS Annotations -->
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jsr181-api</artifactId>
<version>1.0-MR1</version>
<scope>compile</scope>
</dependency>
<!-- JAX-WS API -->
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.1.1</version>
<scope>compile</scope>
</dependency>
Full POM.xml
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.heartlab.ws</groupId>
<artifactId>WebSendServices</artifactId>
<packaging>war</packaging>
<version>0.0.1</version>
<parent>
<groupId>com.heartlab.ws</groupId>
<artifactId>WebSendParentPOM</artifactId>
<version>0.0.1</version>
<relativePath>../WebSendParentPOM/pom.xml</relativePath>
</parent>
<build>
<finalName>${pom.artifactId}</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>wsgen-test</goal>
</goals>
</execution>
</executions>
<configuration>
<sei>com.heartlab.ws.services.HelloService</sei>
<!-- SOAP Version -->
<protocol>soap1.1</protocol>
<!-- <protocol>Xsoap1.2</protocol> -->
<!-- JAX-WS Version -->
<!-- <target>2.0</target> -->
<target>2.1</target>
<genWsdl>true</genWsdl>
<keep>true</keep>
<verbose>true</verbose>
</configuration>
<!-- Specific version of JAXWS-Tools -->
<dependencies>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-tools</artifactId>
<version>2.1.1</version>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<!-- Make this dynamic somehow to support multiple server
configurations -->
<configuration>
<jbossHome>${appserver.url}</jbossHome>
<port>${appserver.port}</port>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.heartlab.ws</groupId>
<artifactId>WebSendUtility</artifactId>
<version>0.0.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
<!-- JAXB 2.1.5 API -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.1.5</version>
<scope>compile</scope>
</dependency>
<!-- JAX-WS Annotations -->
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jsr181-api</artifactId>
<version>1.0-MR1</version>
<scope>compile</scope>
</dependency>
<!-- JAX-WS API -->
<dependency>
<groupId>javax.jws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
--
View this message in context:
http://www.nabble.com/jaxws-maven-plugin-jaxws%3Awsgen---Could-not-find-class-file-tf4477051s177.html#a12778400
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]