springboot项目中的html文件引用js,css的问题
一开始遇到的问题,当直接访问html文件,如http://localhost/xxx.html时,页面能访问,但是css,js文件却不能加载。浏览器报错404。后台打印o.s.web.servlet.PageNotFound : No mapping found for HTTP request with URI [/css/aaa.css] in DispatcherSe...
转载
2018-02-23 00:05:33 ·
14279 阅读 ·
1 评论