这几天学习springboot的时候,遇到了一些坑。
首先创建项目的时候,默认选择的是2.0.2版本,pom.xml如下,添加了web的依赖

启动过程中,报错

看样子是缺少了一些包。
接着我把2.0.2版本换成1.5.13版本

启动成功!

这几天学习springboot的时候,遇到了一些坑。
首先创建项目的时候,默认选择的是2.0.2版本,pom.xml如下,添加了web的依赖
启动过程中,报错
看样子是缺少了一些包。
接着我把2.0.2版本换成1.5.13版本
启动成功!
本文标题:Springboot遇坑笔记之——2.0.2版本
本文链接:https://www.haomeiwen.com/subject/iyiwsftx.html
网友评论