The project in myEclipse cannot be deployed to tomcat

Problem phenomenon:

Newly downloaded the project from svn to the win environment.

When deploying the project, in the servers view, Add Deployment, as shown below:

 

It is found that only one project can be loaded, and the other projects cannot be seen; but obviously I have not deployed it.

My myEclipse is equipped with multiple tomcats, and I tried changing another tomcat, but only one project can be loaded; when changing to another project, the "Deploy Location" in the above picture does not change with the project change! ! Also shows: Undefined exploded archive location myeclipse

Solution: (Reference document: https://jingyan.baidu.com/article/fa4125aca8128b28ac70922e.html)

Message Undefined exploded archive location myeclipse: Unable to publish web project

Cause of the problem: The project with the deployment problem is found in the workspace. There is no .mymetadata file in the directory of the project just downloaded from svn. So build one.

Solution: Create a new web project test, copy the .mymetadata file under the test project, open it, and change the values ​​of name and context-root in <project-module> to those of the current project.

After that, restarting myEclipse solved the problem.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324644620&siteId=291194637