Error creating bean with name 'consulRegistration' defined in class path resource [org/springframework/cloud/consul/serviceregistry/ConsulAutoServiceRegistrationAutoConfiguration.class]: Failed to instantiate [org.springframework.cloud.consul.serviceregistry.ConsulAutoRegistration]: Factory method 'consulRegistration' threw exception with message: Consul service ids must not be empty, must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphen: ${spring.application.name}:${spring.cloud.client.ipAddress}:80不添加服务名会报错
10-26
3万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-29
1418
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-19
6435
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-10
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
04-18
5376
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-08
14万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-29
4万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)