web services - required missing class in execution of jaxws-maven-plugin wsgen -



web services - required missing class in execution of jaxws-maven-plugin wsgen -

i'm building java web service using jax-ws. i'm using code-first approach jaxws-maven-plugin generate wsdl. problem i'm getting next error maven , can't figure why jax-rs class required. i'm using wildfly 8.1.0 bom javaee7 api resolution (i don't know if it's conflicting jaxws-maven-plugin).

[error] failed execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsgen (generate-wsdl) on project e-chapaa-services: execution generate-wsdl of goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsgen failed: required class missing while executing org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.3:wsgen: javax/ws/rs/core/application

the plugin configuration follows

<plugin> <groupid>org.jvnet.jax-ws-commons</groupid> <artifactid>jaxws-maven-plugin</artifactid> <version>2.3</version> <executions> <execution> <id>generate-wsdl</id> <phase>process-classes</phase> <goals> <goal>wsgen</goal> </goals> <configuration> <genwsdl>true</genwsdl> </configuration> </execution> </executions> </plugin>

in configuration section of plugin, had add together endpointclass implementation <sei></sei> , worked.

web-services maven jax-ws maven-plugin jaxws-maven-plugin

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -