a:10 GET http://localhost:8080/static/js/xxx.js net::ERR_ABORTED 404

三个方法
1、在idea进行clean
在这里插入图片描述
2、
在这里插入图片描述
3、在路径上去掉static,如/static/js/a.js改成/js/a.js(我是通过这个解决的问题)

猜你喜欢

转载自blog.csdn.net/weixin_45743162/article/details/113097577