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文件配置错误,文件名称与项目名称不一致,修改iml文件名称使其一致。
修改再次运行项目,成功!
iml是IDEA中的项目标识文件,缺少这个文件,idea就无法识别项目。同Eclipse的.project性质一样。
iml文件是IDEA自己创建的模块文件,用于Java应用开发,存储一些模块相关的信息,比如一个Java组件,插件组件,maven组件等,存储一些模块路径信息,依赖信息以及别的一些设置。
.idea文件夹:存放项目的配置信息、包括数据源、类库、项目字符编码、历史记录、版本控制信息等。
可以在File types中的Ignore files and folders中可以输入 .idea; 和 *.iml; 将其隐藏。
但不建议隐藏iml,因为项目名中出现中括号是因为iml文件名和项目文件名不一样,需要更改iml文件名
Failed to load resource: the server responded with a status of 404 (Not Found) iml文件配置错误相关推荐
- Springboot 页面访问不到静态资源Failed to load resource: the server responded with a status of 404 ()
Springboot 页面访问不到静态资源 问题:在HTML文件中引入图片,但是浏览器访问不到图片. index.html: <!DOCTYPE html> <html xmlns: ...
- 浏览器控制台显示 Failed to load resource: the server responded with a status of 404 ()
今天做项目时,前端资源可以正常打开,但是使用SpringBoot启动时,前端控制台却显示浏览器控制台显示 Failed to load resource: the server responded w ...
- 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)这个错误表示,服务器无法找到您请求的资源.具 ...
- 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中,你可能会遇到访问页面的时候 ...
- 无法加载静态的图片Failed to load resource: the server responded with a status of 404 (Not Found)
想到的解决办法的思路是 1,是否是路径的错误 2,是否在resource中定义了静态资源加载(最好是在webapp下独立创建一个放静态资源的文件) 检查发现是路径的错误,可是为什么会出现路径的错误呢 ...
- Failed to load resource: the server responded with a status of 404
搞来搞去附件下载请求的地址老包404,我用的easyui1.5 引用下载插件 <script type="text/javascript" src="${ctx ...
- Failed to load resource:the server responded with a status of 404()
jsp页面: 原因: 声明文档的解析类型(document.compatMode),避免浏览器的怪异模式.document.compatMode: BackCompat:怪异模式,浏览器使用自己的怪异 ...
- Vue3报错之 Failed to load resource: the server responded with a status of 404 (Not Found)
不知道为什么,重新建立了src组件之后,之前组件运行npm run dev的localhost地址没办法打开新的组件,只能在新的组件里面重新右键在集成终端中打开运行npm run dev,反正问题是解 ...
- vue前台Failed to load resource: the server responded with a status of 404 (Not Foun
可能是代理网络的问题,有时候报错但是页面正常 npm install --no-fund npm run dev
最新文章
- 数据竞赛Tricks集锦
- matplotlib.transforms
- 取代INT 80 的sysenter/sy***it
- go例子(一) 使用go语言实现linux内核中的list_head
- ppt计算机英语介绍,介绍电脑的英语ppt
- mysql查询语句4,MySQL(4):CRUD语句(2)——基本查询
- obs可以装手机吗?_原神PC和手机数据互通吗 PC和手机可以一起玩吗
- Linux: Nginx 安装
- 拆除指令怎么设置_快捷指令(16)朗读屏幕内容
- Kubernetes详解(二十四)——Deployment控制器更新实战与查看
- 手把手教你做一个Excel 2007数据透视表(有图有真相)
- 在vc中实现获取汉字拼音的首字母
- JS基础详细汇总((入门级))
- 整人网页html语言网站,html愚人节整人一直弹的网页窗口怎么做?
- win10安装ePLAN P8 2.7无法通过驱动精灵更新MultiUSB Key驱动问题的解决办法
- 与英语密切联系的计算机专业,计算机专业英语
- 带你了解ae2021版新功能 ae 2021中文直装版
- 华为路由器:ISIS基本原理与配置(含实验)
- quartus频率计 时钟设置_Quartus II EDA频率计设计
- 华为信息机与c3po包的冲突