Error message:Could not initialize class com.taobao.diamond.client.impl.DiamondEnvRepo
Solution: If Diamond data in the address server is empty, check whether the address server is configured correctly and runs stably, and whether a response is returned properly when http://jmenv.tbsite.net:8080/diamond-server/diamond is accessed.
NOTE: Before accessing http://jmenv.tbsite.net:8080/diamond-server/diamond , add the following content to the hosts file to bind the address server domain: .192.168.1.10 jmenv.tbsite.net . (Replace 192.168.1.10 with the address of your lightweight configuration center.) The path of the hosts file is as follows:
- Windows： C:\Windows\System32\drivers\etc\hosts
- Linux： /etc/hosts