这里记录一下
因为是测试项目,项目内没有加web依赖,所以启动就报错了。
百度搜都是加什么common,jedis依赖…
误打误撞加了web依赖就解决了
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
这里记录一下
因为是测试项目,项目内没有加web依赖,所以启动就报错了。
百度搜都是加什么common,jedis依赖…
误打误撞加了web依赖就解决了
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>