Avatar of gudii9
gudii9Flag for United States of America

asked on 

project copy paste issue

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
* EclipseHTMLJSPJavaJava EE

Avatar of undefined
Last Comment
gudii9
ASKER CERTIFIED SOLUTION
Avatar of gudii9
gudii9
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of gudii9
gudii9
Flag of United States of America image

ASKER

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.
Java
Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo