使用Spring Initializer、嵌入式Tomcat、Thymeleaf模板引擎,并打包为可执行的JAR文件。server.port=5678http://localhost:5678/pecador/login
但当我在服务器中部署应用程序并使用以下命令运行它时:template might not exist or might not be accessible by any of the configured Template
我正在使用Spring,并试图了解控制器/视图部分是如何工作的,但是我在'/‘和任何其他路径上都会出现404错误。/resources/templates/index.html,因为我对Spring/Thymeleaf还不熟悉,我不确定哪个应该工作
Servlet.service() for servlet [dispatcherServlet