Description
IntelliJ idea version is 14.
JDK version is 1.7
Tomcat version is apache-tomcat-7.0.70
Note: Note the issue of the number of related software version bits during the creation process. 32-bit, 64-bit software mash-up can lead to unsuccessful access problems!!!
The first thing to understand is a basic question: In contrast to eclipse, "new Project" in IntelliJ idea is equivalent to the workspace in Eclipse (Workspace), and the "New Module" Equivalent to Engineering (project) in Eclipse. The following are used IntelliJ, please self-control conversion understanding.
1, create project: Click File–new project; Create. Png2, select the Empty Project project, click next; Next 3, enter the project name, select the project path; paste_ Image.png4, create Module: Click Finish, pop up the following window, IntelliJ the default selection modules, click the plus sign, select New Module; paste_ IMAGE.PNG5, select Java, configure the module SDK, select Web application, configure versions, click Next; paste_image.png6, enter Module Name, click Finish. paste_image.png7, select Project, configure Sdk; paste_image.png8, select modules– (modules name) –sources–web–web-inf; PASTE_IMAGE.PNG9, right-click Web-inf, then new folder, create classes directory and Lib directory; paste_image.png10, select paths, select Use Modules complie Output path, specify the path to the classes directory created above; paste_image.png11, select dependencies, click the plus sign on the right, select the first jars and ..., select the Lib directory created above, click OK , Pop-up box select Jar Directory, click OK, click OK below, complete the project configuration,  PASTE_IMAGE.PNG12, configure the project: Open index.jsp, enter the display content, such as "Test ... " paste_image.png13, configure the Project Server; paste_image.png14, click the plus sign, select Tomcat Server, choose Local; paste_ IMAGE.PNG15, configure name, server, port number,  PASTE_IMAGE.PNG16, select deployment, click + Sign, select the above configured item; paste_ IMAGE.PNG17, set Application context, click OK to complete the Tomcat configuration; paste_image.pnG18, start Project paste_image.png paste_image.png Create, configure, and start the entire project of idea from this completion.
Hurried teenager
Links: https://www.jianshu.com/p/455c7c11dfb2
Source: Pinterest
Copyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.
IntelliJ idea Creating a Web project (full tutorial)