プログラムをコンパイルしようとすると。次のエラー メッセージが表示されます。
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..........
それで、私はエラーをさらに調べ始めました。
Class not found: "com.test.ws.services.SimpleServiceImpl"
何らかの理由で、WSGEN が私の値を見つけられないようです。誰にもアイデアはありますか?
興味があれば、ここに私のPOMがあります...
<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>
ユーザー編集: 私はそれを手に入れたと思います(@Thomasの提案に基づく)。POM ビルド領域でソース フォルダーを指定しなかったようです。ソースがコンパイルされないという結果になりました。
追加:
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
私のためにトリックをしました。
@Thomas に回答を投稿していただければ、喜んで回答のクレジットを差し上げます。
お返事をありがとうございます、