您的位置: 首页 > 文章 > 关于Springboot中静态资源的访问 关于Springboot中静态资源的访问 分类: 文章 • 2024-02-05 13:06:10 1.一般是在classpath下创建一个resource下创建static或者静态网页的(html、css、js) 访问路径的话是:http://localhost:8080/imags/123.jpg