IntelliJ Idea 13 operation--2. Configuring the project and adding MAVEN modules

Source: Internet
Author: User
Tags tomcat tomcat server

1. Open "Project Structure", set up the Project SDK, click "Apply" and click "OK" to confirm


2. Open "Project Structure", select "Modules" module, click "+" action, select "New module"


3. Select "Maven", tick "Create from archetype, select Apache Maven web App, click" Next "


4, enter the project Meaven module information, click "Next"


5, tick "Override", make Meaven directory, click "OK" to confirm


6. Click "Next" to proceed to the next step.


7, make the module name and path, click "Finish" to complete the Maven module add


8. Click "Apply" and click "OK" to confirm


9, at this time IntelliJ idea back to network download maven corresponding plugin


10. "Maven execution finished" appears, indicating that the MAVEN module was added successfully


11, after completion will pop up the following interface, IntelliJ idea configuration maven module generated files, tick "Remember,don ' t ask again", choose "Cancel" Cancel

12. Click the "Edit Configurations" editor configuration


13. Click "+" to add "Tomcat Server" and select "Local"


14. Click "Configure" To configure Tomcat, select the local Tomcat directory, click on the "Apply" app, then click "OK" to confirm


15. Switch to "Deployment" view, click "+", add "Artifact ..."


16, choose Artifact, click "OK"

17. Switch to "Server" view, click "Apply" Application, click "OK" to confirm


18. Double-click "Clean" under "Maven Projects"


19, double-click "Install" under "Maven Projects", "BUILD SUCCESS", indicating Maven project Bulid complete


20. Click "Debug" button to start the debug


21, the browser pops up the following page, MAVEN configuration success



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.