please check whether the configs are released in Apollo!

2023-10-30

项目启动一直报错,其他同事、其他模块都没有这个错误。

关键信息如下:

[Cause: [status code: 404] Could not find config for namespace - appId: m-ln-contractmanage, cluster: default, namespace: application, please check whether the configs are released in Apollo!]|@|

详细如下:

[INFO ]|@|[]|@|[]|@|[2020-07-06 18:54:48,513]|@|[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]|@|[]|@|Bean 'segmentServiceBolt' of type [com.alipay.sofa.runtime.spring.factory.ReferenceFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)|@|
[INFO ]|@|[]|@|[]|@|[2020-07-06 18:54:48,515]|@|[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]|@|[]|@|Bean 'segmentServiceBolt' of type [com.sun.proxy.$Proxy154] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)|@|
[INFO ]|@|[]|@|[]|@|[2020-07-06 18:54:48,598]|@|[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]|@|[]|@|Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$b6a386be] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)|@|
[WARN ]|@|[]|@|[]|@|[2020-07-06 18:58:38,529]|@|[com.ctrip.framework.apollo.internals.RemoteConfigRepository]|@|[]|@|Load config failed, will retry in 1 SECONDS. appId: m-ln-contractmanage, cluster: default, namespaces: application|@|
[WARN ]|@|[]|@|[]|@|[2020-07-06 18:58:40,201]|@|[com.ctrip.framework.apollo.internals.AbstractConfigRepository]|@|[]|@|Sync config failed, will retry. Repository class com.ctrip.framework.apollo.internals.RemoteConfigRepository, reason: Load Apollo Config failed - appId: m-ln-contractmanage, cluster: default, namespace: application, url: http://172.29.12.147:8091/configs/m-ln-contractmanage/default/application?ip=10.11.33.151&messages=%7B%22details%22%3A%7B%22m-ln-contractmanage%2Bdefault%2Bapplication%22%3A33%7D%7D [Cause: [status code: 404] Could not find config for namespace - appId: m-ln-contractmanage, cluster: default, namespace: application, please check whether the configs are released in Apollo!]|@|
[WARN ]|@|[]|@|[]|@|[2020-07-06 19:03:38,675]|@|[com.ctrip.framework.apollo.internals.RemoteConfigRepository]|@|[]|@|Load config failed, will retry in 1 SECONDS. appId: m-ln-contractmanage, cluster: default, namespaces: application|@|
[WARN ]|@|[]|@|[]|@|[2020-07-06 19:03:40,102]|@|[com.ctrip.framework.apollo.internals.AbstractConfigRepository]|@|[]|@|Sync config failed, will retry. Repository class com.ctrip.framework.apollo.internals.RemoteConfigRepository, reason: Load Apollo Config failed - appId: m-ln-contractmanage, cluster: default, namespace: application, url: http://172.29.12.147:8091/configs/m-ln-contractmanage/default/application?ip=10.11.33.151&messages=%7B%22details%22%3A%7B%22m-ln-contractmanage%2Bdefault%2Bapplication%22%3A33%7D%7D [Cause: [status code: 404] Could not find config for namespace - appId: m-ln-contractmanage, cluster: default, namespace: application, please check whether the configs are released in Apollo!]|@|
[WARN ]|@|[]|@|[]|@|[2020-07-06 19:08:38,378]|@|[com.ctrip.framework.apollo.internals.RemoteConfigRepository]|@|[]|@|Load config failed, will retry in 1 SECONDS. appId: m-ln-contractmanage, cluster: default, namespaces: application|@|
[WARN ]|@|[]|@|[]|@|[2020-07-06 19:08:39,875]|@|[com.ctrip.framework.apollo.internals.AbstractConfigRepository]|@|[]|@|Sync config failed, will retry. Repository class com.ctrip.framework.apollo.internals.RemoteConfigRepository, reason: Load Apollo Config failed - appId: m-ln-contractmanage, cluster: default, namespace: application, url: http://172.29.12.147:8091/configs/m-ln-contractmanage/default/application?ip=10.11.33.151&messages=%7B%22details%22%3A%7B%22m-ln-contractmanage%2Bdefault%2Bapplication%22%3A33%7D%7D [Cause: [status code: 404] Could not find config for namespace - appId: m-ln-contractmanage, cluster: default, namespace: application, please check whether the configs are released in Apollo!]|@|

经过好几天的尝试,一直没解决。网上找各种方案,都试了,没效果。

偶然间,发现项目启动时,发现提示如下:

打开Breakpoints面板看看,(快捷键:Ctrl - Shift -F8 )-参考,看到确实有断点。然后把断点去了,重启IDEA。

再次启动项目,竟然笔直的走过去了。

详细如下:

[INFO ]|@|[]|@|[]|@|[2020-07-06 19:14:07,612]|@|[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]|@|[]|@|Bean 'org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration' of type [org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration$$EnhancerBySpringCGLIB$$d03f022e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)|@|
[INFO ]|@|[]|@|[]|@|[2020-07-06 19:14:17,086]|@|[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]|@|[]|@|Bean 'sqlSessionFactory' of type [org.apache.ibatis.session.defaults.DefaultSqlSessionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)|@|
[INFO ]|@|[]|@|[]|@|[2020-07-06 19:14:17,098]|@|[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]|@|[]|@|Bean 'sqlSessionTemplate' of type [org.mybatis.spring.SqlSessionTemplate] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)|@|
[INFO ]|@|[]|@|[]|@|[2020-07-06 19:14:17,102]|@|[org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker]|@|[]|@|Bean 'pb1221Mapper' of type [org.mybatis.spring.mapper.MapperFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)|@|

反复试了几次,确实是这个原因导致。

结论:不要放过任何一个小细节,非常可能就是突破口。如有问题,欢迎沟通。不喜勿喷!

 

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

please check whether the configs are released in Apollo! 的相关文章

随机推荐

  • android 开屏广告轮播,抖音-TopView(原生开屏)广告投放介绍

    产品简介 用户打开抖音APP时 出现TopView产品形态 原生融入信息流首位 用户体验更沉浸 原生信息流首位广告 避免竞品上下文干扰 品牌安全度高 品牌记忆度高 产品支持播放10s 60s时长的视频 展现位置 规则 1 位置 用户打开抖音
  • Tycho - 用Maven Build Eclipse插件

    为什么80 的码农都做不了架构师 gt gt gt Tycho是一个Maven插件 旨在简化使用Maven构建Eclipse插件 OSGI Bundle等项目 一 插件项目的构建 有了Tycho 构建一个Eclipse插件工程变的非常简单
  • React Native拖拽删除Demo(触摸事件)

    最近学习了下ReactNative中的触摸事件 写个例子实践一下 Demo效果 当触摸红球时开始触发事件 红球随着手指移动改变位置 松开时回到原位 如果拖入蓝色区域则删除 隐藏 单击左上方按钮红球显示在原位置 主要是利用了View触摸函数o
  • Axure RP 9Mac入门知识-基础功能介绍(一)

    Axure RP 9是一款备受瞩目的产品原型设计软件 它可以让你在上面任意构建草图 框线图 流程图以及产品模型 还能够注释一些重要地方 axure rp可支持同时多人写作设计和版本管理控制 这款交互式原型设计工具可以帮助设计者制作出高效率高
  • idea 运行日志查看

    help gt Show Log in Explorer 打开后的文件夹 如果有一些运行错误提示导入至中查看的可以在这里找到 比如在idea执行maven的reimport入时报错 打开后会有对应的记录 日志是按时间顺序追加的 可以直接最下
  • STM32发送AT并用LED显示

    STM32发送AT并用LED显示 1 利用USART1发送数据给使用AT的模块 void SendChar char buff unsigned char i 0 while buff i 0 while USART GetFlagStat
  • Android使用TabLayout+Viewpager+ Fragment实现了底部导航栏的效果

    首先TabLayout一般都是配合Viewpager使用的 Viewpager里的Fragment随着顶部的Tab一起联动 这种场景再熟悉不过了 效果如图所示 一 配置build gradle 添加如下代码 二 values属性文件 1 a
  • 解决华为手机无法使用Android StudioUSB调试功能

    亲测真实有效 废话不多说 跟大多数博客一样 本人照着真机调试步骤一步步来 但是Android Studio始终无法检测到手机 一度怀疑是数据线的问题 然而更换数据线之后问题依旧 折磨了好久 因为本人是华为手机 几经周折 发现是端口被占 最后
  • 机器学习笔记(1)—监督学习和无监督学习

    Day1 写在前面 此系列博客是看的是2022年的吴恩达的机器学习 以下是相关的笔记 如有不对的地方 请大家指出 监督学习 回归算法 分类算法 无监督学习 聚类算法 课后问题 总结 写在前面 始于2022年11月4日 本人双非硕士研一在读
  • 用Ehcache查询性能提升了100倍

    文章来源 石杉的架构笔记原创文章 目录 业务场景 如何通过缓存优化查询接口 基于大数据离线平台进行缓存预热 本地缓存框架 Ehcache 今天给大家来分享一个知识 那就是平时我们开发系统的时候 如何运用 Ehcache 这款本地缓存框架 把
  • matlab 点云精配准(2)——point to plane ICP(点到面的ICP)

    目录 一 算法原理 1 原理概述 2 参考文献 二 代码实现 三 结果展示 1 初始位置 2 配准结果 四 参考链接 五 测试数据 本文由CSDN点云侠原创 matlab 点云精配准 2 point to plane ICP 点到面的ICP
  • openwrt笔记3_自启动+golang

    Openwrt设置开机启动 设置开机启动原理 etc init d目录下面就是系统加载的开机配置 每个配置可以设置START优先级 数字越大启动越靠后 如果有很多需要依赖网络或者USB之类的启动程序最好设置靠后一些 等其他程序启动了再启动
  • 5G/NR PDCCH总结

    1 CCE PDCCH主要用于传输下行控制信息和UL Grant 以便UE正确接收PDSCH及为PUSCH分配上行资源 其分配单位为CCE 1 CCE 6 REG 72 RE 1 REG 1 OFDM symbol 12 subcarrie
  • 开发文档怎么写

    项目开发过程中为了增加程序的可读性和程序的健壮性 方便后期程序的调试和维护 所以需要在开发过程中统一技术规范 一般会在项目初期确定好相关文档作为这一统一的规范 不同公司会对文档做不同要求 划不同的分类 但一般来说 或者拿自己的经验说 大致可
  • -128----127缓存,在栈中获取

    span style font size 13px package test span br style font size 13px br style font size 13px br style font size 13px span
  • nginx负载均衡的5种策略

    nginx负载均衡的5种策略 要理解负载均衡 必须先搞清楚正向代理和反向代理 负载均衡的几种常用方式 1 轮询 默认 每个请求按时间顺序逐一分配到不同的后端服务器 如果后端服务器down掉 能自动剔除 upstream backserver
  • 如何根据excel文档中的内容同步更新数据库中的数据

    提示 文章写完后 目录可以自动生成 如何生成可参考右边的帮助文档 根据excel中的内容同步更新数据库中的数据 需求概述 一 解决思路 二 具体解决方案 1 使用navicat将excel导入到mysql数据库中 2 写SQL语句做更新操作
  • python中rfind函数作用_python中的rfind函数如何使用

    python中rfind函数的用法 rfind 函数用于返回字符串最后一次出现的位置 从右向左查询 如果没有匹配项则返回 1 具体使用方法如 print str rfind substr 0 10 函数描述 推荐教程 Python入门教程
  • Ubuntu系统无法联网问题

    在网上看到许多解决方案是修改网络配置文件 但是ubuntu系统的目录结构中甚至都没有对应文件 因此找到以下解决方案 能够顺利联网并进行sudo install 亲测有效解决方案 1 在虚拟机设置中将网络适配器修改为NAT模式 2 找到net
  • please check whether the configs are released in Apollo!

    项目启动一直报错 其他同事 其他模块都没有这个错误 关键信息如下 Cause status code 404 Could not find config for namespace appId m ln contractmanage clu