![[完美解决] Failed to start bean ‘webServerStartStop‘; nested exception is java.lang.reflect.UndeclaredTh](/uploads/image/0410.jpg)
[完美解决] Failed to start bean ‘webServerStartStop‘; nested exception is java.lang.reflect.UndeclaredTh
org.springframework.context.ApplicationContextException: Failed to start bean ‘webServerStartStop’; nested exception is java.lang.reflect.UndeclaredThrowableException 集群nacos后 用了nginx作为代理, 启动时候一直转圈圈… 可以明确告诉你 错的地方只有三个 1.nacos配置文件的ip地址有问题 2.nginx的 upstream nacos-cluster { 地址有问题 } 3.java的yml的server-addr地址有问题
采坑过程很痛苦, 用时差不多10个小时解决的. 1.遇到这个错误, 创建一个文件夹,nacos-cluster 里面解压nacos 注意, nacos的 集群配置先不用写, 先去application.properties 设置端口和开放数据库的配置
2,去nginx的nginx.conf设置集群信
👁️ 阅读量:0
© 版权声明:本文《[完美解决] Failed to start bean ‘webServerStartStop‘; nested exception is java.lang.reflect.UndeclaredTh》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686791000a340005.html。