maven项目常用依赖(java web)

配置字符编码


		UTF-8
	
response.setContentType("text/html;charset=utf-8");
		request.setCharacterEncoding("utf8");

 

druid


			com.alibaba
			druid
			1.1.12
		

mysql-connector-java


			mysql
			mysql-connector-java
			5.1.44
		

commons-dbcp


			commons-dbcp
			commons-dbcp
			1.4
		

 

javax.servlet


			javax.servlet
			javax.servlet-api
			3.1.0
			provided
		

fastjson


			com.alibaba
			fastjson
			1.2.7
		

maven-Tomcat插件


				org.apache.tomcat.maven
				tomcat7-maven-plugin
				2.2
				
					/${project.artifactId}
					8080
					UTF-8
					http://localhost:8080/
					tomcat7
				
			

org.apache.maven.plugins


				org.apache.maven.plugins
				maven-compiler-plugin
				3.7.0
				
					1.8
					1.8
				
			

 

你可能感兴趣的:(maven项目常用依赖(java web))