You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@webservice
public class HelloWS {
public void HelloWord() {
System.out.println("hello, world!");
}
public static void main(String[] args) {
String address = "http://127.0.0.1:8089/test";
Endpoint.publish(address + "/helloService", new HelloWS());
System.out.println("hello, world!");
}
}
$ ./build/windows-i386-openjdk-src/avian -cp build/windows-i386-openjdk-src/tes
t extra/HelloWS
java/lang/annotation/AnnotationFormatError: Unexpected end of annotations.
at sun/reflect/annotation/AnnotationParser.parseAnnotations (line 74)
at java/lang/Class.createAnnotationData (line 3521)
at java/lang/Class.annotationData (line 3510)
at java/lang/Class.getAnnotation (line 3415)
at com/sun/xml/internal/bind/v2/model/annotation/RuntimeInlineAnnotationReader.getClassAnnotation (line 91)
at com/sun/xml/internal/bind/v2/model/annotation/RuntimeInlineAnnotationReader.getClassAnnotation (line 42)
at com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.getTypeInfo (line 370)
at com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.getTypeInfoSet (line 439)
at com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl. (line 277)
at com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl. (line 124)
at com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl$JAXBContextBuilder.build (line 1123)
at com/sun/xml/internal/bind/v2/ContextFactory.createContext (line 147)
at com/sun/xml/internal/bind/api/JAXBRIContext.newInstance (line 152)
at com/sun/xml/internal/bind/api/JAXBRIContext.newInstance (line 96)
at com/sun/xml/internal/ws/developer/JAXBContextFactory$1.createJAXBContext (line 98)
at com/sun/xml/internal/ws/db/glassfish/JAXBRIContextFactory.newContext (line 79)
at com/sun/xml/internal/ws/spi/db/BindingContextFactory.create (line 167)
at com/sun/xml/internal/ws/model/AbstractSEIModelImpl$1.run (line 203)
at com/sun/xml/internal/ws/model/AbstractSEIModelImpl$1.run (line 176)
at java/security/AccessController.doPrivileged (native)
at com/sun/xml/internal/ws/model/AbstractSEIModelImpl.createJAXBContext (line 176)
at com/sun/xml/internal/ws/model/AbstractSEIModelImpl.postProcess (line 95)
at com/sun/xml/internal/ws/model/RuntimeModeler.buildRuntimeModel (line 309)
at com/sun/xml/internal/ws/db/DatabindingImpl. (line 85)
at com/sun/xml/internal/ws/db/DatabindingProviderImpl.create (line 59)
at com/sun/xml/internal/ws/db/DatabindingProviderImpl.create (line 43)
at com/sun/xml/internal/ws/db/DatabindingFactoryImpl.createRuntime (line 105)
at com/sun/xml/internal/ws/server/EndpointFactory.createSEIModel (line 453)
at com/sun/xml/internal/ws/server/EndpointFactory.create (line 269)
at com/sun/xml/internal/ws/server/EndpointFactory.createEndpoint (line 144)
at com/sun/xml/internal/ws/api/server/WSEndpoint.create (line 563)
at com/sun/xml/internal/ws/api/server/WSEndpoint.create (line 545)
at com/sun/xml/internal/ws/transport/http/server/EndpointImpl.createEndpoint (line 308)
at com/sun/xml/internal/ws/transport/http/server/EndpointImpl.publish (line 231)
at com/sun/xml/internal/ws/spi/ProviderImpl.createAndPublishEndpoint (line 126)
at javax/xml/ws/Endpoint.publish (line 240)
at extra/HelloWS.main (line 13)
The text was updated successfully, but these errors were encountered:
cygwin win10 openjdk-1.8.0.181-1.b13.ojdkbuild.windows.x86
package extra;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.Endpoint;
@webservice
public class HelloWS {
public void HelloWord() {
System.out.println("hello, world!");
}
public static void main(String[] args) {
String address = "http://127.0.0.1:8089/test";
Endpoint.publish(address + "/helloService", new HelloWS());
System.out.println("hello, world!");
}
}
$ ./build/windows-i386-openjdk-src/avian -cp build/windows-i386-openjdk-src/tes
t extra/HelloWS
java/lang/annotation/AnnotationFormatError: Unexpected end of annotations.
at sun/reflect/annotation/AnnotationParser.parseAnnotations (line 74)
at java/lang/Class.createAnnotationData (line 3521)
at java/lang/Class.annotationData (line 3510)
at java/lang/Class.getAnnotation (line 3415)
at com/sun/xml/internal/bind/v2/model/annotation/RuntimeInlineAnnotationReader.getClassAnnotation (line 91)
at com/sun/xml/internal/bind/v2/model/annotation/RuntimeInlineAnnotationReader.getClassAnnotation (line 42)
at com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.getTypeInfo (line 370)
at com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.getTypeInfoSet (line 439)
at com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl. (line 277)
at com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl. (line 124)
at com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl$JAXBContextBuilder.build (line 1123)
at com/sun/xml/internal/bind/v2/ContextFactory.createContext (line 147)
at com/sun/xml/internal/bind/api/JAXBRIContext.newInstance (line 152)
at com/sun/xml/internal/bind/api/JAXBRIContext.newInstance (line 96)
at com/sun/xml/internal/ws/developer/JAXBContextFactory$1.createJAXBContext (line 98)
at com/sun/xml/internal/ws/db/glassfish/JAXBRIContextFactory.newContext (line 79)
at com/sun/xml/internal/ws/spi/db/BindingContextFactory.create (line 167)
at com/sun/xml/internal/ws/model/AbstractSEIModelImpl$1.run (line 203)
at com/sun/xml/internal/ws/model/AbstractSEIModelImpl$1.run (line 176)
at java/security/AccessController.doPrivileged (native)
at com/sun/xml/internal/ws/model/AbstractSEIModelImpl.createJAXBContext (line 176)
at com/sun/xml/internal/ws/model/AbstractSEIModelImpl.postProcess (line 95)
at com/sun/xml/internal/ws/model/RuntimeModeler.buildRuntimeModel (line 309)
at com/sun/xml/internal/ws/db/DatabindingImpl. (line 85)
at com/sun/xml/internal/ws/db/DatabindingProviderImpl.create (line 59)
at com/sun/xml/internal/ws/db/DatabindingProviderImpl.create (line 43)
at com/sun/xml/internal/ws/db/DatabindingFactoryImpl.createRuntime (line 105)
at com/sun/xml/internal/ws/server/EndpointFactory.createSEIModel (line 453)
at com/sun/xml/internal/ws/server/EndpointFactory.create (line 269)
at com/sun/xml/internal/ws/server/EndpointFactory.createEndpoint (line 144)
at com/sun/xml/internal/ws/api/server/WSEndpoint.create (line 563)
at com/sun/xml/internal/ws/api/server/WSEndpoint.create (line 545)
at com/sun/xml/internal/ws/transport/http/server/EndpointImpl.createEndpoint (line 308)
at com/sun/xml/internal/ws/transport/http/server/EndpointImpl.publish (line 231)
at com/sun/xml/internal/ws/spi/ProviderImpl.createAndPublishEndpoint (line 126)
at javax/xml/ws/Endpoint.publish (line 240)
at extra/HelloWS.main (line 13)
The text was updated successfully, but these errors were encountered: