Monday 15 March 2010

java - Launching Servlet on Eclipse/Tomcat opens the wrong URL -


Every time I click on run on the server this creates my overlays and opens the browser Is wrong with it, but with the wrong url The URL name is

  http: // localhost: 8080 / myproject /  

, but this leads to an error 404, because the correct URL

  http: // localhost: 8080 / myProject /  

case-sensitive.

The reference route is set to MyProject . I closed the server, cleared tomcat directory and published it several times, but the eclipse still calls the following-cased URL. Apart from this, trying to switch the tema space with [workspace metadata] , but this does not help either.

Edit: Using Eclispe Luna 4.4. 0 , Tomcat v7.0 , Widein 7.4.0 and Maven

< Div class = "post-text" itemprop = "text">

Check the properties of your project. There should be an entry for the "web app" or similar, where you can specify the reference URL.

If you are not getting this, then myproject in the settings of your project .


No comments:

Post a Comment