Andi Wijaya
Posts: 1
Nickname: andiwijaya
Registered: Apr, 2006
|
|
Re: Three Minutes to a Web Service
|
Posted: Apr 24, 2006 6:49 PM
|
|
Hi,
I use JWSDP 2 to compile this sample program. But, I've got the following error when I compile the server:
setup: [mkdir] Created dir: C:\Documents and Settings\Administrator\My Documents\My Downloads\14981\JohnJYates JAX-WS article 1_13_2006\simpleExample\build [mkdir] Created dir: C:\Documents and Settings\Administrator\My Documents\My Downloads\14981\JohnJYates JAX-WS article 1_13_2006\simpleExample\build\classes
[mkdir] Created dir: C:\Documents and Settings\Administrator\My Documents\My Downloads\14981\JohnJYates JAX-WS article 1_13_2006\simpleExample\build\war
build-server-java: [apt] warning: Annotation types without processors: [javax.xml.bind.annota tion.XmlRootElement, javax.xml.bind.annotation.XmlAccessorType, javax.xml.bind.a nnotation.XmlType, javax.xml.bind.annotation.XmlElement] [apt] error: Could not get TypeDeclaration for: simpleexample.server.Simpl eJAXWS in apt round: 2 [apt] Problem encountered during annotation processing; [apt] see stacktrace below for more information. [apt] java.lang.NullPointerException [apt] at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.co mpleteModel(WebSe rviceAP.java:357) [apt] at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.pr ocess(WebServiceA P.java:225) [apt] at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationPr ocessor.process(A nnotationProcessors.java:60) [apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:454) [apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java :448) [apt] at com.sun.tools.apt.main.Main.compile(Main.java:1075) [apt] at com.sun.tools.apt.main.Main.compile(Main.java:938) [apt] at com.sun.tools.apt.Main.processing(Main.java:95) [apt] at com.sun.tools.apt.Main.process(Main.java:43) [apt] at com.sun.tools.apt.Main.main(Main.java:34)
Can somebody tell me how to fix the error?
Thank you in advance, Andi
|
|