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,正确显示。所以最终的结论是版本兼容问题。

猜你喜欢

转载自luanxiyuan.iteye.com/blog/1756820