Servlet訪問WebService出現錯誤

xiaoxiaolang529發表於2007-08-06
2007-8-6 15:57:43 org.apache.catalina.core.StandardWrapperValve invoke
資訊: Servlet FirstServlet is currently unavailable
2007-8-6 19:17:43 org.apache.catalina.core.ApplicationContext log
資訊: Marking servlet NewServlet as unavailable
2007-8-6 19:17:43 org.apache.catalina.core.StandardWrapperValve invoke
嚴重: Allocate exception for servlet NewServlet
javax.naming.NameNotFoundException: Name com.my.webservicetest.NewServlet is not bound in this Context
at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.catalina.util.DefaultAnnotationProcessor.lookupFieldResource(DefaultAnnotationProcessor.java:203)
at org.apache.catalina.util.DefaultAnnotationProcessor.processAnnotations(DefaultAnnotationProcessor.java:144)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1108)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)

相關文章