<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<port>80</port>
<uriEncoding>UTF-8</uriEncoding>
</configuration>
</plugin>
解决tomcat6.0不支持jdk1.8的问题,并使用tomcat7:run进行启动,而不是默认的tomcat:run,因为tomcat:run默认启动的是tomcat6.0,还是不支持jdk1.8。
解决tomcat6.0不支持jdk1.8的方法
最新推荐文章于 2024-01-10 15:59:37 发布