Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. package javaeetutorial.helloservice;
  2.  
  3. import javax.jws.WebService;
  4. import javax.jws.WebMethod;
  5.  
  6. @WebService
  7. public class Hello {
  8.  
  9. private final String message = "Hello, ";
  10.  
  11. public Hello() {
  12. }
  13.  
  14. @WebMethod
  15. public String sayHello(String name) {
  16. return message + name + ".";
  17. }
  18. }
  19.  
  20. java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: Servlet web service endpoint '' failure
  21. at com.sun.enterprise.web.WebApplication.start(WebApplication.java:168)
  22. at org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
  23. at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
  24. at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
  25. at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)
  26. at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
  27. at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
  28. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement