Importing existing JSP project to Eclipse or Net Beans

Bob picture Bob · Mar 5, 2013 · Viewed 7.4k times · Source

I am trying to import project from some server on my localhost.

I would prefer to import it in NetBeans, but Eclipse is also fine. I set up Tomcat server in NetBeans for now. Then I tried to create new Java Web project with existing source and then I go through the wizard, and when I should select Web pages folder, Web-inf content it says: "Web Pages folder overlaps Project folder."

But I am not sure what kind of setup should I have there. If you maybe have some advice or video tutorial, that would be awesome..

Thanks!

Answer

Anand Prakash picture Anand Prakash · Feb 15, 2015

A common error that may arise at the final stage is of the project creation is --

"Web Pages folder overlaps Project folder."

To solve this issue, use the following simple steps.

  • Inside the project folder, create a folder called web.

  • Move the sources and the WEB-INF file into the web directory. You are good to go! When you create the project now from the existing sources, the process will be seamless!