weblogic 替换默认错误页面_weblogic 部署后出现Error 404–Not Found

在将一个webservice工程部署到Linux下的Weblogic服务器后,遇到404 Not Found错误。问题源于请求路径不正确。解决方法是创建weblogic.xml文件,设置jsp-descriptor和context-root,确保请求路由指向正确。
摘要由CSDN通过智能技术生成

Error 404--Not Found 错误

From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:

10.4.5 404 Not Found

The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

遇到一个问题,就是将一个webservice工程发布到linux下weblogic中,

1) 发布在本地tomcat中:http://localhost:8080/npmService/services可以正确的得到wsdl文件一览

2) 发布Weblogic后,修改web.xml文件

< !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值