Open-JDK 1.8.0 SpringBoot 2.1.4版本 在访问我的应用程序时,我在我的白色页面上得到了这个堆栈跟踪: This application has no explicit mappingTemplate.java:157)at org.springframework.boot.web.servlet.view.MustacheView.renderMergedTempl
我尝试启动在Spring Initializr中创建的演示应用程序。SpringBoot版本- 2.0.3。 我创建了index.html并将其放入resources/templates文件夹。当我启动spring-boot:run时,控制台中的一条消息显示: Tomcat started on port(s): 8080 (http) with context path '' 当我打开localhost:8080时,它会显示Spring