Symptoms
After you deploy an application, the following error message is displayed during startup.
SEVERE: Context initialization failed java.lang.NoClassDefFoundError: Could not initialize class com.ali.unit.rule.RouterCause
The application cannot connect to the address server jmenv.tbsite.net and requires domain name binding.
Solution
Add the following entry to your hosts file to bind the address server domain name.
192.168.XX.XX jmenv.tbsite.netReplace
192.168.XX.XXwith the IP address of the lightweight configuration center.The hosts file path varies by operating system:
Windows: C:\Windows\System32\drivers\etc\hosts
Linux: /etc/hosts