Pig项目学习一,启动Nacos 出错问题

在Pig项目中遇到Nacos 1.4.0版本启动报错,包括bean注入失败和循环依赖等问题。尝试官网推荐的1.3.1版本也未成功,最后通过下载Nacos 1.3.1安装包并配置数据库解决了问题。
摘要由CSDN通过智能技术生成

首先最新的pig项目中的nacos 配置的版本是 1.4的版本,我不知道为啥要使用这个版本来做注册中心,官网的稳定版本推荐的使用 1.3.1版本,
Nacos 官网 : https://nacos.io/zh-cn/docs/quick-start.html
在这里插入图片描述
项目中确用了1.4.0版本导致源码启动到处出错误。
在这里插入图片描述
先来看下完整的错误

2020-11-22 09:59:33,547 INFO The cluster resource is initialized

2020-11-22 09:59:35,603 ERROR Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'trafficReviseFilterRegistration' defined in class path resource [com/alibaba/nacos/naming/web/NamingConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.FilterRegistrationBean]: Factory method 'trafficReviseFilterRegistration' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'trafficReviseFilter': Unsatisfied dependency expressed through field 'serverStatusManager&#
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值