Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Importing existing JSP project to Eclipse or Net Beans

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!

like image 857
Bob Avatar asked Mar 05 '13 14:03

Bob


1 Answers

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!

like image 71
Anand Prakash Avatar answered Sep 23 '22 18:09

Anand Prakash