[Solved] com.alibaba.nacos.api.exception.NacosException: failed to req API

Problem statement

When using Nacos as spring’s test center, the following error occurred when enabling the project

Nacos cluster cannot connect to com.alibaba.nacos.api.exception.NacosException: failed to req API:/api//nacos/v1/ns/ins

Solution

Due to the inconsistency between the versions of spring cloud – Alibaba and Nacos, you can download the appropriate version according to the version provided on the official website


Read More: