Maven + Eclipse + Tomcat Debug Settings

Source: Internet
Author: User
Tags custom name

1. After installing the M2eclipse plugin and configuring Maven-tomcat-plugin, click "Run Configurations" in the Eclipse Menu "Run".

2. In the left tree of the popup dialog box, look for "to Maven Build", right click on it and click "New".

3. Enter a custom name in the "name" column on the right. Click on the "Browse Workspace" button on the "Main" tab, select the target item, and in the "Base directory" column you will see the contents of the shape "${workspace_loc:/project_a}" (Project_ A is the application item A, as described above, and it will change depending on the target item you selected).

4. Enter "Tomcat:run" in the "Goals" column.

5. In the MAVEN Runtime select the MAVEN environment you need (note: Must be 2.0.8 or higher).

6. Click "Apply" to complete the configuration.

Maven + Eclipse + Tomcat Debug Settings

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.