当前位置: 首页 > news >正文

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

 解决办法:

查看数据库连接配置即可

 

http://www.lryc.cn/news/145141.html

相关文章:

  • C语言_分支和循环语句(2)
  • JMeter 接口自动化测试:从入门到精通的完全指南
  • 【Java】集合List的toArray()方法及其重载
  • Python学习笔记:Requests库安装、通过url下载文件
  • git pull --rebase 用法
  • react antd框架中的徽标获取数据对应状态的数量
  • 【多线程】Thread类的用法
  • 第八章 贪心算法 part03 1005.K次取反后最大化的数组和 134. 加油站 135. 分发糖果 (day34补)
  • Android Activity启动过程一:从Intent到Activity创建
  • 第9章:聚类
  • 程序员为什么要写bug,不能一次性写好吗?
  • Nginx反向代理其他服务
  • MQ 简介-RabbitMQ
  • 强化学习(2)
  • Visual Studio 2022的MFC框架——theApp全局对象
  • SpringBoot Cache
  • vue 简单实验 自定义组件 component
  • C++ 改善程序的具体做法 学习笔记
  • Unity 之 GameObject.Find()在场景中查找指定名称的游戏对象
  • flink on yarn with kerberos 边缘提交
  • NodeJS的简介以及下载和安装
  • 量化面试-概率题
  • 【spark】java类在spark中的传递,scala object在spark中的传递
  • php 文字生成图片保存到本地
  • 面试手撕—二叉搜索树及其后序遍历
  • Java数据结构面试题以及答案
  • Java——它要求用户输入一个整数(实际上是一个字符串),然后计算该整数的平方值,并将结果输出。
  • 【科研论文配图绘制】task6直方图绘制
  • Leetcode刷题:395. 至少有 K 个重复字符的最长子串、823. 带因子的二叉树
  • java八股文面试[多线程]——Synchronized的底层实现原理