IBM Support

Cannot generate bottom up JAX-WS Web Service when using WebSphere Developer Tools for Eclipse

Technote (troubleshooting)


When using WebSphere Developer Tools for Eclipse that is installed into an existing Eclipse instance on Mac OS, generating a bottom up JAX-WS web service with the Liberty profile fails with the error message: "Errors occurred during wsgen."


The following details are displayed in the dialog box:
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(


The Eclipse workbench is running on a Java 6 JVM, with com.sun.mirror.apt.AnnotationProcessorFactory in the classpath.

Resolving the problem

Launch Eclipse with a Java 7 JVM that does not contain com.sun.mirror.apt.AnnotationProcessorFactory in the classpath.

To specify which JVM to use when starting Eclipse, use the -vm runtime option.

Document information

More support for: Rational Application Developer for WebSphere Software
Web Services Development

Software version: 9.0

Operating system(s): OS X

Software edition: All Editions

Reference #: 1632234

Modified date: 06 December 2014