All Products
Document Center

com.ali.unit.rule.Router initialization failure

Last Updated: Jan 17, 2018

Error message:SEVERE: Context initialization failed java.lang.NoClassDefFoundError: Could not initialize class com.ali.unit.rule.Router

Solution: The address server cannot be connected. In this case, bind the domain.

Add the following content to the hosts file to bind the address server domain: (Replace 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