When i try to Compile my program. I get the following error message:
Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.2:wsgen (generate-wsdl) on project SimpleWebServices: Error executing: wsgen [-keep, -s, etc..........
So, I begin poking around and further up the error, I see this:
Class not found: "com.test.ws.services.SimpleServiceImpl"
It would appear that for some reason, the WSGEN cannot find my value. Does anyone have any ideas?
Here's my POM if interested...
<plugin>
<groupId>org.jvnet.jax-ws-commons</groupId>
<artifactId>jaxws-maven-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>generate-wsdl</id>
<phase>process-classes</phase>
<goals>
<goal>wsgen</goal>
</goals>
<configuration>
<sei>com.test.ws.services.SimpleServiceImpl</sei>
<genWsdl>true</genWsdl>
<verbose>true</verbose>
</configuration>
</execution>
</executions>
</plugin>
User Edit: I think i got it (based on @Thomas suggestion). It appears that I didn't specify the source folder in the POM Build area. Resulting in my source not being compiled.
Adding:
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
Did the trick for me.
@Thomas if you post your answer, I'd be happy to give you answer credit.
Thanks for your reply,