The Myeclipse project into Eclipse project

From: https://www.cnblogs.com/jianshuai520/p/8734549.html

As the project demand, the original Myeclipse project needs to be transferred into Eclipse. So now only engage them, for everyone to share, want to be useful.

First import a project exported from Myeclipse

Then tomcat can not be released.

But Myeclipse project and the Eclipse project structure is somewhat different, so here we can be modified by Eclipse plug-ins.

 

Select the item, click on the right mouse button. Select Properties -> Project Facets

Here select Dynamic Web Module, choose version 2.4. Then click OK

Then you find more than a WebContent folder, you can delete it, because we use Myeclipse when the default is WebRoot folder to install our page and some configuration information.

         Doing so is not enough, because Eclipse default is to go inside to find the resources to WebContent display. So we're going to Eclipse workspace, find the item, go change some configuration.

 

        yy / .settings /, edit org.eclipse.wst.common.component this file. Use Notepad to open:

Find the source-path label, the WebContent changed WebRoot . that's it. Finished modifying the configuration file, the project needs to be closed, then open. that's it.

ok、

Guess you like

Origin www.cnblogs.com/lbhqq/p/12155043.html