SpringBoot - 静态资源 Posted 2021-01-11 Simple° tags: 篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SpringBoot - 静态资源相关的知识,希望对你有一定的参考价值。 1、从classpath/static 的目录访问静态资源 注意:resources下的目录名称必须为static 启动并访问:http://localhost:8080/index.html 以上是关于SpringBoot - 静态资源的主要内容,如果未能解决你的问题,请参考以下文章