Microservices cannot be registered to nacos

1. Problem

When I started the open source code  ruoyi-vue-pro  , the started backend service could not be registered to nacos

2. Solution

I found that I have a problem with the namespace on nacos, the configuration file bootstrap-local.yaml is written like this

 The namespace here is dev. My own operation of creating a namespace on nacos is like this. The following figure shows the creation process and results:

 

 This is where the problem arises. The namespace in the configuration file corresponds to the namespace ID, not the name or description. The following is the correct creation process and result:

 

 The description can be filled in casually, the service is finally registered, and the problem is solved!

 

Supongo que te gusta

Origin blog.csdn.net/qq_41928263/article/details/131183521
Recomendado
Clasificación