发布webservice接口时报错-HTTP Status 500 - File "/axis2-web/listSingleService.jsp" not found
2014-08-05 11:08
746 查看
报错内容如下所示:
type Exception report
message File "/axis2-web/listSingleService.jsp" not found
description The server encountered an internal error that prevented it from fulfilling this request.
exception
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.37 logs.
一开始总以为是找不到axis2-web文件之类的错误,但是经过仔细排查是发布的路径出错。
正确路径为:http://servername:port/projectname/services/interfaceMethod?wsdl
PS:
servername: 本地为:127.0.0.1 或公网IP
port:
Tomcat默认为:8080 或因修改而异,如果为80可忽略不写
services: 为META-INT下新建services.xml,的名字
interfaceMethod:接口方法,根据services.xml中发布的方法正确填写即可。
欢迎拍砖。
HTTP Status 500 - File "/axis2-web/listSingleService.jsp" not found
type Exception reportmessage File "/axis2-web/listSingleService.jsp" not found
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: File "/axis2-web/listSingleService.jsp" not found org.apache.jasper.servlet.JspServlet.handleMissingResource(JspServlet.java:412) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) org.apache.axis2.transport.http.AbstractAgent.renderView(AbstractAgent.java:119) org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:200) org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.37 logs.
一开始总以为是找不到axis2-web文件之类的错误,但是经过仔细排查是发布的路径出错。
正确路径为:http://servername:port/projectname/services/interfaceMethod?wsdl
PS:
servername: 本地为:127.0.0.1 或公网IP
port:
Tomcat默认为:8080 或因修改而异,如果为80可忽略不写
services: 为META-INT下新建services.xml,的名字
interfaceMethod:接口方法,根据services.xml中发布的方法正确填写即可。
欢迎拍砖。
相关文章推荐
- axis2 File "/axis2-web/listSingleService.jsp" not found
- axis2异常:File "/axis2-web/listSingleService.jsp" not found 的处理
- [置顶] Struts2开发实例-http status 500 - /index.jsp (line: 2, column: 42) File "/struts-tags" not found
- HTTP Status 500 - /online.jsp (line: 495, column: 2) File [/foot.jsp] not found
- SpringMVC之File "/WEB-INF/jsp/validate/demo2.jsp" not found
- HTTP Status 500 - Tag file directory /tagfiledoes not start with "/WEB-INF/tags"
- HTTP Status 500 - Unable to compile class for JSP:Syntax error on token "=", @ expected
- HTTP Status 500 - javax.servlet.ServletException: File [/head.jsp] not found
- HTTP Status 500 - tag 'select', field 'list', name 'vehicle.vehicleType.id': The requested list key
- HTTP Status 500 - /dologin.jsp (line: 27, column: 3) Expecting "jsp:param" standard action with "nam
- struts2 jsp File "/struts-tags" not found
- axis2发布web项目开发webservice和接口调用
- HTTP Status 500 - For input string: " 1"
- /WEB-INF/views/login.jsp(2,61) Unable to read TLD "META-INF/c.tld" from JAR file "file:/D:/Program%
- .net中,WEB服务器错误,"http://1.1 500 server error" 解决办法
- 报错:HTTP Status 500 -Method "execute" failed for object……
- j2ee中,url直接进入jsp页面,提示File "/struts-tags" not found
- tomcat6.0发布项目打开jsp页面报错:HTTP Status 500 - javax.servlet.ServletException
- 因添加两个webservice引用时提示:{"无法加载协定为“sms.WebServiceSoap”的终结点配置部分,找到了该协定的多个终结点配置。请按名称指示首选的终结点配置部分。"}
- File "/login.jsp" not found ;StringMVC+Ibatis的后缀名