facebook

[Closed] eclipse can’t find servlet

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #244157 Reply

    lfrohman
    Member

    I am using eclipse 3.1.1, with Tomcat 5.0.28 and I switched from sysdeo to MyEclipse.
    I used the quickstart instructions, and everything worked fine, I saw the HelloWorld.jsp.
    But when I add a servlet, I get an error 404 “The requested resource (/parvia/test) is not available.”
    I added the source file to the src directory, and manually added it to the web.xml file.
    Automatically build is on, and I can see the .class file in the right directory (using Windows Explorer,
    not eclipse). What is wrong?

    Thanks,
    Lance

    #244184 Reply

    Riyad Kalla
    Member

    Lance,
    Are you using an exploded or packaged deployment? Did you try shutting down Tomcat, redeploying your project, then restarting Tomcat?

    #244199 Reply

    lfrohman
    Member

    I found the problem. When I created the new MyEclipse project, I used the same
    project name as before (when I used sysdeo). There were some old entries in the
    Tomcat /conf directory (system.xml and conf/Cataline/localhost/project.xml). I
    deleted these old entries and everything works. Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] eclipse can’t find servlet

You must be logged in to post in the forum log in