Eclipse Import MyEclipse Project

Source: Internet
Author: User


Web project Display As a Java project workaround

After the direct Importmyeclipse project file is imported into eclipse, you need to modify the. project file in the introduction project directory within the workspace of your project.

Modify the following:


1. Create a new Web project in Eclipse to overwrite the. project file under the root directory in the same directory as the exported project.


2. Open the. project file of the imported project, modify the bottom <name>test</name> middle values


After that, the project project file is refreshed.


Then, right-click Project-->properties--> Select Project Facets,

Tick the Dynamic Web Module and Java to select Tomcat in Runtime.


Then go to the project directory and modify the Org.eclipse.wst.common.component within its . Settings directory.


<wb-resource deploy-path= "/" source-path= "/webroot"/>


Then refresh the project project file, delete the webcontent, and publish and run it in Tomcat.

Eclipse Import MyEclipse Project

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.