-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:2.5:wsgen #56
Comments
You need to provide a test project that reproduces this issue. It's very hard to help just based on your pom snippet. |
This is the complete pom hope this helps
|
@chandreshlko: You should provide a (small) simple test project that reproduces the issue. It must also be executable for us outisde of your internal environment. (It seems as several dependencies aren't accessible in central.) |
@andham just wanted to check that the version is used in the pom file is 1.6 and we are upgrading this to version 8 of java is this causing this issue (thank you in advance) We are also getting an error which shows and 2.2.10 JDK_1.6 ${project.build.directory}/staging/jaxws-maven-plugin 3.0 1.6 |
I have the same problem |
i have same build issue with JDK 8 |
Revisa que tengas JDK en vez de JRE. :) |
Are you using a JRE or a JDK? Which version? |
|
i have same build issue with JDK 8 |
@yukinoba:
As you can see from the error message above, you have to move the
package sample.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
@WebService
public interface IHelloWorldService {
@WebMethod
String sayHi(@WebParam(name = "text") String text);
}
package sample.ws;
import javax.jws.WebService;
@WebService(endpointInterface = "sample.ws.IHelloWorldService", serviceName = "HelloWorld")
public class HelloWorldServiceImpl implements IHelloWorldService {
public String sayHi(String text) {
// TODO Auto-generated method stub
return null;
}
} Then compiling via Maven works, and so from within Eclipse. Attention: <dependencies>
<dependency>
<groupId>jakarta.jws</groupId>
<artifactId>jakarta.jws-api</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
<version>2.3.3</version>
</dependency>
</dependencies> |
[ERROR] Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:2.5:wsgen (authentication) on project services-webapp: Invocation of com.sun.tools.ws.wscompile.WsgenTool failed - check output -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:2.5:wsgen (authentication) on project services-webapp: Invocation of com.sun.tools.ws.wscompile.WsgenTool failed - check output
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
The text was updated successfully, but these errors were encountered: