【问题标题】:In spring boot under resources the static and template is not created?在资源下的 spring boot 中,未创建静态和模板? 【发布时间】:2023-02-09 17:35:52 【问题描述】: 在资源下为什么不自动创建静态和模板文件夹? src/main/resources 如果我自己创建静态和模板文件夹有什么问题吗? 【问题讨论】: 标签: spring-boot eclipse spring-thymeleaf spring-initializr 【解决方案1】: 并非每个应用程序都需要这些文件夹,因此自动创建它们没有意义。 只需自己创建即可。 【讨论】: