lig 发表于 2017-2-17 11:40:58

weblogic 部署后出现Error 404--Not Found

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 oldresource is permanently unavailable and has no forwarding address.
  这种问题一般就是部署的路径不对或者根本就没有部署成功
  本人出现的问题就是在MyEclipse下部署是显示成功的,但是通过weblogic的console登陆后根本就没有对应的项目,所以一直出现上面的问题,
  我后来直接就把myeclipse的项目直接remove了,重新add一下,就在console可以看到对应的部署文件了,也就不会出现上面的问题了
http://hi.csdn.net/attachment/201201/13/0_1326442478mWRK.gif
  原来是一直没有DwrTest这个的,但是我在MyEclipse中remove了,重新add一下就可以了

sdylag 发表于 2017-2-17 11:42:30

在weblogic的控制台中查看部署应用的,上下文,是否跟项目请求的上下文一致, 不一致的就会报 404 ~~~

这才是 404 解决的关键。

sdylag 发表于 2017-2-17 11:43:04

{:6_394:}{:6_394:}{:6_394:} 看楼主的解决方案, 一头雾水的。。。。
页: [1]
查看完整版本: weblogic 部署后出现Error 404--Not Found