1、pom.xml中使用 ${mybatis-spring-boot.version}这种会报红。网上查了好多办法都没有解决。后来我将此写法改为2.0.0 就解决了 2、检查你的version是否太高,降低一下试试