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