1. Check whether it is started in cluster mode
In the startup script startup.CMD, modify mode = “standalone”
2. Check database configuration
In the configuration file conf/application.Properties
It’s very annoying to remove the comments from the database configuration. Because Notepad is set to automatically wrap lines, I think the URL line is open and there are no comments, so I checked it for a long time. It’s really careless!
After these two steps are completed, it is basically OK. If another error occurs:
No DataSource set
The database is not connected!!!
To check the database connection and password, mine is mysql8, which is solved after authorizing the user.
3. Ultimate solution
If we can’t find any problems, we can also adjust the log level to debug or trace, so that the log is detailed enough and can basically locate the problems.
The log path is conf/Nacos-logback.xml
Read More:
- [Solved] Nacos2.1.1 Startup Error: nacos is starting with standalone
- [Solved] Nacos Cluster startup error: error=‘Cannot allocate memory‘ (errno=12)
- [Solved] nacos Startup Error: Error creating bean with name ‘authFilterRegistration‘ defined in class path resource
- [Solved] Nacos Start Error: failed to req API:127.0.0.1:8848/nacos/v1/ns/service/list. code:503 msg: server is DOWN now
- How to Solve “Error db.num is null” when starting Nacos
- [Solved] JDBC error: Communications link failure
- JMeter JDBC Error: No pool found named: ‘test‘ [How to Solve]
- [Solved] Mycat Startup Error: ERROR Startup failed: Timed out waiting for a signal from the JVM
- Nacos Error: server is DOWN now, please try again later! [How to Solve]
- [Solved] JIRA startup error: JIRA startup failed, JIRA has been locked.
- [Solved] Flink jdbc Error: Access Denied for user ‘root‘@‘10.0.0.x‘ (using password: YES)
- [Solved] Error: Could not open client transport with JDBC Uri
- Error configuring application listener of class jdbc.ContextListener [One of the solutions]
- [Solved] react18 swiper Error: Cannot read properties of undefined (reading ‘wrapperClass’)
- Nacos Click service offline error: caused: errCode: 500, errmsg: do metadata operation failed;
- [Solved] failed to req API:localhost:8848/nacos/v1/ns/instance. code:500 msg: java.net.ConnectException
- [Fixed] Typeerror: error 1009: Cannot access properties or methods referenced by an empty object
- The authentication server Configurate NoClassDefFoundError Error (store client information in a JDBC-based database)
- nacos Start Error: Error creating bean with name ‘grpcClusterServer’
- [Solved] kafka Startup Error: Fatal error during KafkaServer startup