eclipse - Apache Tomcat problem -
I had established Eppleps with Tomcade. 7. I start eclipse and it works when I use my projects within the browser.
localhost: 8080 / ReadFormData / Form.html But what's strange is that when I type in the browser: < Pre localhost: 8080 This does not reach the Apache site. I get the following error status:
HTTP status 404 - / type status Report message / description Nurodit resource (/) is not available. When I close the eclipse and I start the server from the outside and
localhost: 8080 Does it work . I know that this is not a big deal but it is disappointing.
It is believed that it is regular and you really want it to be your eclipse-managed talket For example:
- Double-click on your tomcat in the Eclipse "Server" view
- At the bottom of the scene that is now opened, the module " / Li>
- Click "Add External Web Module" and browse to the directory where you removed your tomatk, select
webapps / root there, OK Press - Keep as the "Path" field as the
/ (single slash), press OK If you now have Eclipse Start your Tomcat, from inside, you think that Http: // localhost: 8080 works like you start Tomcat from eclipse. Now A little more interesting for the reason behind it : The eclipse controls very strictly that what the servers managed by it , So this is only the references / web apps that you explicitly add (see steps 1-4. Ve).
On launching Tomcat outside Eclipse, it finds any reference in its webapps directory; Typically this includes root webapp (referred to above), manager , host-manager , docs and Examples are .
Comments
Post a Comment