I was tryin to build proxy classes for Content Manager Web Service but wsdl2java emitter gives invocationTargetException:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:263)
Caused by: java.lang. NoClassDefFoundError : org.eclipse.wst.common.internal.emf.r
esource.RendererFactory
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
at com.ibm.ws.webservices.wsdl.mapping.MappingMetaData. (MappingMet
aData.java:139)
at com.ibm.ws.webservices.wsdl.toJava.Emitter. (Emitter.java:281)
at com.ibm.ws.webservices.tools.WSDL2Java.createParser(WSDL2Java.java:31
5)
at com.ibm.ws.webservices.wsdl.WSDL2. (WSDL2.java:136)
at com.ibm.ws.webservices.tools.WSDL2Java. (WSDL2Java.java:304)
at com.ibm.ws.webservices.tools.WSDL2Java.main(WSDL2Java.java:511)
... 5 more
It gives this no matter the parameters, tried with wsdl2java -help, same result. I am running on win2003 server with was 6.1 and cm 8.4
Solution/reason appreciated