jquery放到WEB-INF下报错:Failed to load resource: the server responded with a status of 404 (Not Found)

md,折腾了整整一天才弄出来 这个问题的缘由

问题:将下载好的jquery-3.4.1.js 放到WEB-INF下,引入不到该js文件,将它放到WEB-INF外,竟然成功了。md。。。

Expression​

not available



jquery-3.4.1.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

ajax.html?_ijt=ts32i…5tl936ks5ebsss7v:18 Uncaught ReferenceError: $ is not defined

jquery-3.4.1.js文件放到WEB-INF外边,再次引入,成功。

发布了96 篇原创文章 · 获赞 8 · 访问量 8万+

猜你喜欢

转载自blog.csdn.net/ljj123_/article/details/104016371