Eclipse Web (spring+springmvc+hibernate) project migrated to IntelliJ idea

Source: Internet
Author: User

1. Import Eclipseweb Project

Follow the navigation, always next.

Warning do not worry, first click on the confirmation, go back to set up the JDK

After the project is successfully imported, as

2. Configure the imported items to enter the project Settings screen by Ctrl+shift+alt+s (or the icon in)

(1), click Project to set up the project, the main set of red line around the place. The path points to the project's compiled folder (the directory where the class file is placed).

(2) Click on the module to set the framework, first configure the JDK and delete the redundant files. The main introduction is the jar package and the configuration file that sets the framework, which points to the compiled folder (the directory where the class file is placed). Click + OK after you can select the corresponding configuration file. Take the hibernate configuration file as an example. The spring configuration file and Web configuration are the same.

(3) Library options may not be set.

(4)

(5) Setting artifact

Remember to click OK or apply at every step.

3. Project Release to Tomcat

(1) Adding Tomcat to the project

(2) Project release to Tomcat

Launch Tomcat, just like eclipse, to access this project.

The project must be configured and then published to Tomcat, or it may not be possible to recognize that the project is a Web project, and that the application cannot be successfully published to Tomcat,web and will not be able to start and access (the pits that you skipped).

Eclipse Web (spring+springmvc+hibernate) project migrated to IntelliJ 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.