在复习JavaScript过程中发现该错误,Failed to load resource: the server responded with a status of 404 (Not Found) favicon.ico。

简而言之就是缺失favicon.ico文件。
简单来说,该文件就是收藏后显示的图标,浏览器一般自动在网站根目录寻找。

解决方案:1、做个favicon.ico文件放在根目录下(如上图,该文件的生成是有难度的),在head标签引入favicon.ico文件即可

<link href="favicon.ico" rel="shortcut icon">

2.简单

<link rel="shortcut icon" href="#" />

但是在重新打开以后就没有了,这个问题有待再深究

报错解决——Failed to load resource: the server responded with a status of 404 (Not Found)相关推荐

  1. Vue3报错之 Failed to load resource: the server responded with a status of 404 (Not Found)

    不知道为什么,重新建立了src组件之后,之前组件运行npm run dev的localhost地址没办法打开新的组件,只能在新的组件里面重新右键在集成终端中打开运行npm run dev,反正问题是解 ...

  2. 接入谷歌AdSense后浏览器控制台报错:Failed to load resource: the server responded with a status of 403的原因及解决办法、

    本篇文章主要讲解,接入谷歌AdSense后浏览器控制台报错:Failed to load resource: the server responded with a status of 403 ads ...

  3. HTML页面跨域请求图片资源报错:Failed to load resource: the server responded with a status of 403 (Forbidden)

    笔者近日刚刚完成了一个Spring boot项目,首页 index.html 页面元素 <img> 引用了第三方服务器的图片链接,在本地测试环境输入 http://localhost 或者 ...

  4. Failed to load resource: the server responded with a status of 404 (Not Found) iml文件配置错误

    运行报错: Failed to load resource: the server responded with a status of 404 (Not Found) 原因: 发现是iml文件配置错 ...

  5. Springboot 页面访问不到静态资源Failed to load resource: the server responded with a status of 404 ()

    Springboot 页面访问不到静态资源 问题:在HTML文件中引入图片,但是浏览器访问不到图片. index.html: <!DOCTYPE html> <html xmlns: ...

  6. 浏览器控制台显示 Failed to load resource: the server responded with a status of 404 ()

    今天做项目时,前端资源可以正常打开,但是使用SpringBoot启动时,前端控制台却显示浏览器控制台显示 Failed to load resource: the server responded w ...

  7. Failed to load resource: the server responded with a status of 404 (Not Found)啥意思

    Failed to load resource: the server responded with a status of 404 (Not Found)这个错误表示,服务器无法找到您请求的资源.具 ...

  8. Failed to load resource: the server responded with a status of 404 ()

    问题: Failed to load resource: the server responded with a status of 404 ()  在SpringMVC中,你可能会遇到访问页面的时候 ...

  9. vue前台Failed to load resource: the server responded with a status of 404 (Not Foun

    可能是代理网络的问题,有时候报错但是页面正常 npm install --no-fund npm run dev

  10. Bug解决:Failed to load resource the server responded with a status of 404 ()

    问题描述 在学习SpringMVC的时候,因为要学习ajax,然后导入了jquery,在浏览器控制台打印报错,初步断定是jquery导入失败问题 解决方法 一直在导入jquery上下功夫,半天发现不是 ...

最新文章

  1. Dialog源码分析
  2. android hook 模拟点击_手把手讲解 Android Hook-实现无清单启动Activity
  3. [导入]ASP.NET AJAX 说明文档-客户端引用-全局命名空间-JavaScript 基础类型扩展-Array 类型扩展...
  4. MySQL8 OCP 证书
  5. 「软件」南方CASS9.1软件下载及安装注册教程
  6. 数字移动c语言课程设计,《移动应用开发》课程设计.doc
  7. php中seo优化怎么做,SEO技术:对于PHP页面的SEO优化
  8. echarts组织架构图
  9. 在js中Date对象用getDay方法get到的是个啥玩意儿?
  10. VBA运行将多个excel的矩阵类型数据转为向量数据
  11. 刷新浏览器后不进行任何点击操作时,不播放声音 | 解决方案(VUE-Element)
  12. weka中的arff格式数据
  13. 微信小程序与普通网页开发的区别
  14. 将GUI打包成EXE发布
  15. ubuntu 14.04配置google拼音输入法
  16. 用我一辈子去忘记(昆明-大理-丽江-香格里
  17. 【Attention,Self-Attention Self Attention Self_Attention】通俗易懂
  18. PHP 身份证号验证是否是真实的
  19. 贝叶斯定理 php,朴素贝叶斯及贝叶斯网络简介
  20. 中存超为-企业级存储获得“云上贵州”大数据商业模式大赛第二名

热门文章

  1. scratch躲避球
  2. 计算机桌面壁纸高清狗,2018狗年桌面壁纸
  3. vuetify学习第6天之v-btn-toggle---按钮组
  4. LSL-- Types
  5. 火影抽卡模拟器1.0.5
  6. Java实现 kiosk模式,Android中的Kiosk模式
  7. Java-HelloWorld
  8. 融云对接php,谈谈微信小程序中首次对接融云WebIM SDK经验
  9. C语言编程>第十六周 ④ 请补充fun函数,该函数的功能是将字符串str中的小写字母都改为对应的大写字母,其它字符不变。
  10. 关于行人重识别方法PCB《Beyond Part Models: Person Retrieval with Refined Part Pooling 》及代码实现解读