主要的两个错误:
1、2024-01-28 16:19:27,822 ERROR Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'basicAuthenticationFilter' defined in class path resource [com/alibaba/nacos/prometheus/filter/PrometheusAuthFilter.class]: Unsatisfied dependency expressed through method 'basicAuthenticationFilter' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'nacosAuthConfig' defined in URL [jar:file:/D:/nacos-server-2.2.1/nacos/target/nacos-server.jar!/BOOT-INF/lib/nacos-plugin-default-impl-2.2.1.jar!/com/alibaba/nacos/plugin/auth/impl/NacosAuthConfig.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tokenManagerDelegate': Unsa
本地配置nacos,启动时报错以及nacos配置步骤(精细版)
于 2024-01-28 16:44:10 首次发布
本文档详细记录了nacos启动时遇到的两个错误:1. secret key长度不足;2. WebServerException无法启动。解决办法是更新nacos版本至2.2.3,并提供了本地配置nacos的四个步骤,包括下载nacos、配置MySQL、修改应用属性文件和启动命令。通过这些步骤,可以成功启动nacos并进行服务注册。
摘要由CSDN通过智能技术生成