weblogic错误Error 404--Not Found

本文转载自:http://hi.baidu.com/fengjun8216/item/e8ef3013a32ec9ea9913d677

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.

查阅了很多资料都不知道怎么办。后来把项目在tomcat中部署下,如何测试,成功。所以分析项目本身没有问题的,只是weblogic服务器找不到资源而已。

最终,问题还是被我在网上找到了,由于网上关于此问题的解决方法很少,所以我写下来,希望有需要的朋友能够看到,少走很多弯路。

其实问题出现的根本就在于部署描述文件即web.xml。由于我的web project是基于j2ee1.4的,里面的web.xml的描述文件的版本weblogic10中不支持。后来我从新建了一个web project,基于java ee5的,部署成功后,输入url,正确显示。所以最终的结论是版本兼容问题。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值