`

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

分享到:
评论

相关推荐

    在myeclipse里部署Weblogic项目(web project)时候的问题

    在myeclipse里部署Weblogic项目(web project)时候的问题浏览器浏览时,报以下错误 Error 404--Not Found From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.4.5 404 Not Found

    weblogic部署到myeclipse后web.xml的问题

    在将Web应用程序通过MyEclipse部署到WebLogic服务器时遇到`web.xml`格式错误的问题。具体表现为:部署过程中提示`web.xml`文件格式不正确(`web.xml` is malformed),并指出XML验证时无法找到`web-app`元素的声明(`...

    p29814665_122130_Generic.zip

    29312272: WSDL ERROR MUST ATTRIBUTE 'NAME' NOTFOUND IN ELEMENT 'BINDING 23071867: AGL DS XA AFFINITY NOT HONORED IN SOME TX LOCAL RESOURCE ASSIGNMENT SCENARIOS 29726561: CVE-2019-2729 1.3 Oracle ...

    apache-tomcat-6.0.16

    8. **错误排查**:掌握常见的错误和问题,如“404 Not Found”,“500 Internal Server Error”等,并了解如何通过日志文件定位和解决问题。 9. **集群与负载均衡**:对于大型项目,了解如何设置Tomcat集群以实现...

    开发中连接数据库需要的JAR包

    System.err.println("Driver not found: " + e.getMessage()); } catch (SQLException e) { System.err.println("Error connecting: " + e.getMessage()); } } } ``` 6. 驱动版本兼容性:数据库驱动的版本需要...

    oracle.jar 包括oracle6.jar和oracle14.jar

    System.err.println("Class not found: " + e.getMessage()); } catch (SQLException e) { System.err.println("Error connecting: " + e.getMessage()); } } } ``` 总的来说,"oracle.jar"、"oracle6.jar"和...

    java jdbc连接oracle所需要的jar包

    System.err.println("Oracle JDBC driver not found."); e.printStackTrace(); } catch (SQLException e) { System.err.println("Error connecting to database."); e.printStackTrace(); } } } ``` 4. **...

Global site tag (gtag.js) - Google Analytics