IntelliJ IDEA 通过maven插件运行tomcat8

pom.xml文件中添加如下

    
			org.apache.maven.plugins
			maven-compiler-plugin
			3.3
			
				1.8
				1.8
				UTF-8
			
		
	
		org.apache.tomcat.maven
		tomcat8-maven-plugin
		3.0-r1756463
		
			8080
			/
			${project.build.sourceEncoding}
		
	





	
		alfresco-public
		https://artifacts.alfresco.com/nexus/content/groups/public
	
	
		alfresco-public-snapshots
		https://artifacts.alfresco.com/nexus/content/groups/public-snapshots
		
			true
			daily
		
	
	
		beardedgeeks-releases
		http://beardedgeeks.googlecode.com/svn/repository/releases
	

IntelliJ IDEA 通过maven插件运行tomcat8_第1张图片
IntelliJ IDEA 通过maven插件运行tomcat8_第2张图片
IntelliJ IDEA 通过maven插件运行tomcat8_第3张图片

你可能感兴趣的:(maven,tomcat8,intellij-idea使用)