这篇博客写的比较好,收藏 SpringBoot项目找不到静态资源文件 pom.xml中的build标签的resources标签https://blog.csdn.net/qq_44651775/article/details/106545959