project copy paste issue

gudii9
gudii9 used Ask the Experts™
on
Hi,

In eclipse i have TestWeb project with bunch of jsp and html files in eclipse. I right clicked on it and copied. Then i pasted then eclipse asked name TestWeb2 ok? i said yes. I created TestWeb2. Now when i try to run TestWeb 2 tomcat9 complains

Could not publish server configuration for Tomcat v9.0 Server at localhost.
Multiple Contexts have a path of "/TestWeb".

how to change the context name or path so that i can run TestWeb2 project as well in tomcat ?
please advise
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
i found good explanation here on this question

http://stackoverflow.com/questions/6133270/in-eclipse-how-to-copy-an-exisiting-project-to-another-project

You can Import the project

OR

Assuming both project A and B are of same type:

You can copy the contents of src folder as it is.

For the libraries, just go to the build path and add them in the ssame way you did for project A.

Author

Commented:
found good answer to my question
You can Import the project

OR

Assuming both project A and B are of same type:

You can copy the contents of src folder as it is.

For the libraries, just go to the build path and add them in the ssame way you did for project A.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial