最上面是无法嵌入tomcat容器错误,造成原因如标题所示,还有显示找不到httpPutFormContentFilter的bean。解决办法
加入依赖
<!-- 持久层框架 类似 hibernate mapper 只是 mybatis springboot mybatis 可以不用 xml 可用 全注解 -->
<dependency>
<groupId>org.sitemesh</groupId>
<artifactId>sitemesh</artifactId>
<version>3.0.1</version>
</dependency>
成功运行