Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The implementation method of modifying tomcat running version and Port by Maven

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Maven uses tomcat6 to run the project by default, and this is for maven to run with tomcat7.

Add in pom.xml

${project.artifactId} compile org.apache.tomcat.maven tomcat7-maven-plugin 2.2 8082 UTF-8 mgr / KBase tomcat7 org.apache.maven.plugins Maven-surefire-plugin true

The above Maven modified tomcat running version and port implementation method is the editor to share with you all the content, I hope to give you a reference, but also hope that you support more.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report