http 錯誤

運行是網頁出現404 有多是由於web

 1)  , 在 eclipse 中 server > add and removetomcat

 2)   ,  http://stackoverflow.com/questions/16340711/tomcat-http-status-404eclipse

      1.  
        1. Click on Window > Show view > Server OR right click on the server in "Servers" view, select "Properties".
        2. In the "General" panel, click on the "Switch Location" button.
        3. The "Location: [workspace metadata]" should replace by something else.
        4. Open the Overview screen for the server by double clicking it.
        5. In the Server locations tab , select "Use Tomcat location".
        6. Save the configurations and restart the Server.

        You may want to follow the steps above before starting the server. Because server location section goes grayed-unreachable.spa

        server Locations in eclipse view

相關文章
相關標籤/搜索