NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
dmirin
Joined: 19 Dec 2008 Posts: 2 Location: London
|
Posted: Mon Dec 22, 2008 12:19 am Post subject: Spellchecker Webservice Client Error (JAX-WS Clients in NetBeans IDE 6.1) |
|
|
After following the tutorial, JAX-WS Clients in NetBeans IDE 6.1, while trying to run the application I get an error after I click the check spelling button:
I followed the tutorial precisely and definitely put the SpellCheckServlet.java into clientservlet package. What am I doing wrong? Please help
The error is:
HTTP Status 500 -
type Exception report
javax.servlet.ServletException: Error instantiating servlet class clientservlet.SpellCheckServlet
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
root cause
javax.naming.NameNotFoundException: Name clientservlet.SpellCheckServlet is not bound in this Context
org.apache.naming.NamingContext.lookup(NamingContext.java:770)
org.apache.naming.NamingContext.lookup(NamingContext.java:153)
org.apache.catalina.util.DefaultAnnotationProcessor.lookupFieldResource(DefaultAnnotationProcessor.java:203)
org.apache.catalina.util.DefaultAnnotationProcessor.processAnnotations(DefaultAnnotationProcessor.java:144)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619) |
|
| Back to top |
|
 |
alladoc
Joined: 26 May 2010 Posts: 1
|
Posted: Wed May 26, 2010 7:20 am Post subject: |
|
|
try removing
"@WebServiceRef(wsdlLocation = "http://ws.cdyne.com/SpellChecker/check.asmx?WSDL")
private Check service;"
then use
"com.cdyne.ws.Check service = new com.cdyne.ws.Check();" |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|