请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

老师我在您发的sui的的包里面找不到这三个

	<script type='text/javascript' src='../resources/js/common/common.js'
	charset='utf-8'></script>
<script type='text/javascript'
	src='../resources/js/shop/shopoperation.js' charset='utf-8'></script>
	![![图片描述](http://img1.sycdn.imooc.com/szimg/5fb265c609e2659606610165.jpg)](http://img1.sycdn.imooc.com//szimg/5fb265c609fb8d2010430351.jpg)

正在回答 回答被采纳积分+3

2回答

翔仔 2020-11-17 00:53:28

同学好,请问chrome开发者模式里面的console报了啥错?如果是404,看看同学的url是啥,url必须是经过controller解析才可以,直接访问xxx.html是不行的,需要通过spring-web.xml里面的配置的解析路径才能访问到

0 回复 有任何疑惑可以回复我~
  • 提问者 qq_嗨_29 #1
    老师报了这样的错误,要怎么解决呢
    Failed to load resource: the server responded with a status of 404 (OK)
    sm-extend.min.css Failed to load resource: the server responded with a status of 404 (OK)
    jquery.min.js Failed to load resource: the server responded with a status of 404 (OK)
    index.css Failed to load resource: the server responded with a status of 404 (OK)
    sm.min.js Failed to load resource: the server responded with a status of 404 (OK)
    zepto.min.js Failed to load resource: the server responded with a status of 404 (OK)
    sm-extend.min.js Failed to load resource: the server responded with a status of 404 (OK)
    config.js Failed to load resource: the server responded with a status of 404 (OK)
    common.js Failed to load resource: the server responded with a status of 404 (OK)
    index.js Failed to load resource: the server responded with a status of 404 (OK)
    logout.js Failed to load resource: the server responded with a status of 404 (OK)
    zepto.min.js Failed to load resource: the server responded with a status of 404 (OK)
    回复 有任何疑惑可以回复我~ 2020-11-17 20:05:14
  • 翔仔 回复 提问者 qq_嗨_29 #2
    同学你是怎么访问的页面呢?url是啥?然后提供一下chrome开发者的截图,如果着急解决,也可以在群里咨询一下其他同学,应该是比较简单的问题 我看页面连你的shopoperation.js也没成功加载?为什么还有index.js?
    回复 有任何疑惑可以回复我~ 2020-11-18 00:25:20
提问者 qq_嗨_29 2020-11-16 19:46:23

我引入进来了,但是还是这样

https://img1.sycdn.imooc.com/szimg/5fb272e909388a3f11600401.jpg

https://img1.sycdn.imooc.com//szimg/5fb2737709a455b903790531.jpg


0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信