【Default config not found for ApplicationConfig】的一种解决方案

简介: 【Default config not found for ApplicationConfig】的一种解决方案

问题场景

场景是这样的:我启动一个dubbo的项目,昨天还是好好的,今天就报错。去网上看了一圈,大概就是说找不到配置信息,但我明明已经在yml文件中配置好了,并且昨天是可以正常启动的。

错误原因

文件读取失败,考虑是.idea文件出错。

解决方案

删除.idea文件后,重新打开项目,正常启动

相关文章
在某龙芯平台上编译FFMPEG报错:ERROR: xxx not found using pkg-config
在某龙芯平台上编译FFMPEG报错:ERROR: xxx not found using pkg-config
387 0
|
3月前
|
Java 开发工具 对象存储
简化配置管理:Spring Cloud Config与Netflix OSS中的动态配置解决方案
简化配置管理:Spring Cloud Config与Netflix OSS中的动态配置解决方案
50 2
IDEA添加Swagger2:Parameter 0 of method linkDiscoverers in org. springframework hateoas.config.Hateoasconfiguration required a single bean, but 15 were found:
IDEA添加Swagger2:Parameter 0 of method linkDiscoverers in org. springframework hateoas.config.Hateoasconfiguration required a single bean, but 15 were found
|
监控 Dubbo 搜索推荐
No application config found or it‘s not a valid config! Please add <dubbo:application name=“...“ />
No application config found or it‘s not a valid config! Please add <dubbo:application name=“...“ />
1301 1
|
7月前
|
关系型数据库 MySQL 数据库
Mysql-错误处理: Found option without preceding group in config file
Mysql-错误处理: Found option without preceding group in config file
805 0
|
XML Java 数据库连接
使用Mybatis时mybatis-config.xml配置中报错“configuration“ 的内容必须匹配 (...)的解决方案
使用Mybatis时mybatis-config.xml配置中报错“configuration“ 的内容必须匹配 (...)的解决方案
139 0
|
PyTorch 算法框架/工具
Bert模型之unable to parse config.json as a URL or as a local path错误解决方案
Bert模型之unable to parse config.json as a URL or as a local path错误解决方案
1051 0
Bert模型之unable to parse config.json as a URL or as a local path错误解决方案
SpringCloud项目启动失败 not found config file[log.properties]
SpringCloud项目启动失败 not found config file[log.properties]
224 0
SpringCloud项目启动失败 not found config file[log.properties]
|
Java iOS开发
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
136 0