nacos服务器启动报错集合

报错1

Error creating bean with name 'user': Unsatisfied dependency expressed through field 'jwtTokenManage

开启鉴权之后,你可以自定义用于生成JWT令牌的密钥,application.properties中的配置信息为:

Since 1.4.1, worked when nacos.core.auth.enabled=true and nacos.core.auth.enable.userAgentAuthWhite=false.

The two properties is the white list for auth and used by identity the request from other server.

nacos.core.auth.server.identity.key=serverIdentity

nacos.core.auth.server.identity.value=security

worked when nacos.core.auth.system.type=nacos

The token expiration in seconds:

nacos.core.auth.plugin.nacos.token.cache.enable=false

nacos.core.auth.plugin.nacos.token.expire.seconds=18000

The default token (Base64 String):

nacos.core.auth.plugin.nacos.token.secret.key=SecretKey012345678901234567890123456789012345678901234567890123456789

报错二

Error creating bean with name 'memoryMonitor' defined in URL [jar:file:/home/nacos/target/nacos-server.jar!/BOOT-INF/lib/nacos-config-2.2.0.jar!/com/alibaba/nacos/config/server/monitor/MemoryMonitor.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'asyncNotifyService': Unsatisfied dependency expressed through field 'dumpService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'externalDumpService': Invocation of init method failed; nested exception is ErrCode:500, ErrMsg:Nacos Server did not start because dumpservice bean construction failure :

No DataSource set

解决办法:

查看数据库连接配置即可

相关推荐
初学者_xuan1 小时前
Linux程序与进程和进程程序基础以及程序管理(零基础掌握版)
运维·计算机网络·网络安全·零基础·学习方法·linux程序管理
小白银子1 小时前
零基础从头教学Linux(Day 20)
linux·运维·服务器·php·国安工程师
天上掉下来个程小白2 小时前
微服务-27.配置管理-什么是配置管理
运维·微服务·架构
古月-一个C++方向的小白2 小时前
Linux初始——基础指令篇
linux·运维·服务器
古月-一个C++方向的小白2 小时前
初始Linux——指令与权限
linux·运维·服务器
柳鲲鹏4 小时前
未成功:使用 Nginx 搭建代理服务器(正向代理 HTTPS 网站)
运维·nginx
wuyang-ligerj4 小时前
路由基础(二):路由表和FIB表
运维·网络·网络协议·智能路由器
adyp4 小时前
Superset docker、ubuntu、windows安装方式
运维
拾心215 小时前
【运维进阶】高可用和负载均衡技术
运维·负载均衡
hyy27952276846 小时前
自动化运维之k8s——Kubernetes集群部署、pod、service微服务、kubernetes网络通信
运维·kubernetes·自动化