Eclipse Project Import to Idea

Source: Internet
Author: User
Tags tomcat server

In a team-work development project, someone using eclipse, someone using idea, worked on a half-day to successfully import an existing Eclipse Javaweb project into idea, the following is the import process

1. Open Idea Editor and select Import Project

Select an existing Eclipse Engineering catalog

Select Eclipse Project Type

Next, select the JDK version that the project depends on, click Finish

2, idea after loading all the files and configuration, the file directory appears on the left

When this requirement is described,. Project and. Classpath are the configuration files generated by eclipse, and an eclipse project must have these two files to be imported into idea,

Now do a series of configuration of the project, the mouse to select the project root directory, F4 open the configuration details page

Select the module's dependencies option to reconfigure the dependencies

New facets, select web type

These two places of labeling need to be changed, idea default root directory is the Web, personal eclipse is webcontent

After modification

Click Create Artifact,artifact is behind the creation of the Tomcat server to use, configure and click OK to complete the second step of the configuration

  

3. Configure the local Tomcat server

  

4, after the configuration is complete, start the server, normal start, done

Eclipse Project Import to Idea

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.