Eclipse maven TOMCAT7 Hot Deployment

Source: Internet
Author: User

1, configuring Tomcat A, configuring JDK B, Catalina_home=C:\tomcat catalina_base=C:\tomcat2, tomcat configuration password C:\Program files\other\apache-tomcat-7.0. the\conf\tomcat-Users.xml<role rolename="Manager-script"/> <role rolename="Manager-gui"/> <role rolename="MANAGER-JMX"/> <user username="Admin"password="Admin"roles="MANAGER-GUI,MANAGER-SCRIPT,MANAGER-JMX"/>3, POM configuration<build> <finalName>s</finalName> <plugins> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactid>tomcat7-maven-plugin</artifactid > <version>2.0</version> <configuration> <server>mytomcat</server> <ur L>http://localhost:8080/manager/text</url><contextReloadable>true</contextReloadable> </configuration> </plugin> </plugins> &lt ;/build>4, Project->run asRun configuration->Base Directory: Select Project Goals:tomcat Run

Eclipse maven TOMCAT7 Hot Deployment

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.