spring-boot-starter-velocity配置异常
2017-08-25 17:59
393 查看
1)配置如下
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-velocity</artifactId>
</dependency>
2)报错如下
3)原因:没有指定版本信息,因为父类也没指定。
4)解决方案,指定Version,如下
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-velocity</artifactId>
<version>1.1.3.RELEASE</version>
</dependency>
最后更新pom
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-velocity</artifactId>
</dependency>
2)报错如下
3)原因:没有指定版本信息,因为父类也没指定。
4)解决方案,指定Version,如下
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-velocity</artifactId>
<version>1.1.3.RELEASE</version>
</dependency>
最后更新pom
相关文章推荐
- springboot 配置全局异常拦截
- Spring Boot 自动配置理解 以及实现自定义Starter
- 详解spring boot starter redis配置文件
- spring boot配置shiro自定义shiro filter匹配异常
- spring-boot-starter-logging logback常用配置之<appender>标签详解
- 聊聊spring-boot-starter-data-redis的配置变更
- 使用spring-boot-starter-data-jpa 怎么配置使运行时输出SQL语句
- Spring Boot starter pom、xml配置、日志
- spring boot开发遇到坑之spring-boot-starter-web配置文件使用教程
- spring-boot-starter-actuator(健康监控)配置和使用
- spring-boot-starter-logging logback配置之<configuration><logger>标签详解
- SpringBoot 全局异常配置及返回自定义页面
- SpringBoot | 常见几种异常配置方案
- SpringBoot Velocity toolbox配置
- springboot1.5.4 配置druid1.1.0(使用druid-spring-boot-starter)
- springboot配置异常
- Springboot入门-配置异常页面
- spring-boot-starter-logging logback常用配置之<appender>标签详解
- spring-boot-starter-logging logback配置之<configuration><logger>标签详解