_20230827132418.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
时间: 2023-10-17 21:28:44 浏览: 139
这个错误信息是指在加载 _20230827132418.jpg 图片时,服务器返回了404 (Not Found) 的状态,表示该图片未找到。这通常是由于路径配置不正确或者服务器上确实不存在该文件导致的。根据引用内容和,解决方案可以有两种:
1. 修改配置文件中的 assetsPublicPath 为 "./",这样可以确保路径正确。
2. 确保图片文件在服务器上存在,如果确实不存在,需要上传正确的图片文件到服务器上。
根据引用内容,这个错误可能发生在页面渲染时,后端返回的数据中包含了图片路径,但是在前端渲染时,却找不到该图片。因此,确保后端返回的图片路径是正确的,并且图片文件确实存在。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [报错解决——Failed to load resource: the server responded with a status of 404 (Not Found)](https://blog.csdn.net/m0_51511286/article/details/123127476)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [vue打包npm run build时候界面报错的解决](https://download.csdn.net/download/weixin_38626943/13128820)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Failed to load resource: the server responded with a status of 404 (Not Found) 报错](https://blog.csdn.net/sdsdvsdvs/article/details/126335311)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文