All Products
Search
Document Center

Serverless App Engine:How do I resolve the com.ali.unit.rule.Router error after deploying and starting an application?

Last Updated:Aug 20, 2025

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.Router

Cause

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.net
  • Replace192.168.XX.XX with 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