最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
使用springMVC所需要的pom配置代码示例
时间:2022-06-29 02:11:48 编辑:袖梨 来源:一聚教程网
本篇文章小编给大家分享一下使用springMVC所需要的pom配置代码示例,文章代码介绍的很详细,小编觉得挺不错的,现在分享给大家供大家参考,有需要的小伙伴们可以来看看。
配置应用的字符编码格式
UTF-8 UTF-8 UTF-8
servlet api的maven依赖
javax.servlet javax.servlet-api 3.1.0 provided
javaservlet page api(jsp api)的maven依赖
javax.servlet.jsp javax.servlet.jsp-api 2.3.1 provided
jstl的maven依赖
javax.servlet jstl 1.2
spring-webmvc的maven依赖
org.springframework spring-webmvc 5.1.0.RELEASE
commons-lang3的依赖
org.apache.commons commons-lang3 3.8.1
hibernate-validator
org.hibernate.validator hibernate-validator 6.0.13.Final
应用版本跟jetty配置
org.apache.maven.plugins maven-compiler-plugin 3.8.0 1.8 1.8 org.eclipse.jetty jetty-maven-plugin 9.3.7.v20160115 /test 10
springMVC 基本pom依赖及配置文件
Spring MVC pom依赖
junit junit 4.12 org.springframework spring-webmvc 5.1.19.RELEASE javax.servlet servlet-api 2.2 javax.servlet jstl 1.2 org.projectlombok lombok 1.18.18 com.fasterxml.jackson.core jackson-core 2.11.0 com.fasterxml.jackson.core jackson-databind 2.11.0 com.fasterxml.jackson.core jackson-annotations 2.11.0
application.xml
web.xml
springmvc org.springframework.web.servlet.DispatcherServlet contextConfigLocation classpath:application.xml 1 springmvc / encoding org.springframework.web.filter.CharacterEncodingFilter encoding utf-8 encoding /*
相关文章
- 暗喻幻想:ReFantazio御剑滑行方法 10-29
- 暗喻幻想:ReFantazio黄金虫数量说明 10-29
- 暗喻幻想魔坏之锤获取方法攻略分享 10-29
- 暗喻幻想:ReFantazio难度更改说明 10-29
- 暗喻幻想古井死胡同BOSS打法攻略分享 10-29
- 骗子酒吧骗子骰子游戏规则介绍说明 10-29