/** * This is a kingdee cosmic template project that is automatically generated by the Kingdee cosmic development assistant plugin. * If there are any issues during the use process, you can provide feedback to the kingdee developer community website. * Website: https://developer.kingdee.com/developer?productLineId=29 * Author: liebin.zheng * Generate Date: 2025-11-21 10:24:13 */ package nckd.cosmic.debug; /** * 启动本地应用程序(微服务节点) */ public class DebugApplication { public static void main(String[] args) { // Thread.currentThread().setContextClassLoader(new KDSecurityClassLoader(Thread.currentThread().getContextClassLoader())); Launcher cosmic = new Launcher(false); // cosmic.setClusterNumber("cosmic"); // cosmic.setTenantNumber("ierp"); cosmic.setClusterNumber("cl-sit"); cosmic.setTenantNumber("cl-sit"); // cosmic.setConfigUrl("127.0.0.1:2181?user=zk&password=******"); // cosmic.setConfigUrl("127.0.0.1:2182/?user=zookeeper&password=zt111222"); cosmic.setConfigUrl("10.0.55.10:2181?user=zookeeper&password=d@f*g:SGVsbG8==AkVeSR0FdQBE0tuAn88ekDn9cKsWEsW7FAoI/PJCuMNHa2RwYXNzd29yZA=="); // cosmic.setMcServerUrl("http://127.0.0.1:8091"); cosmic.setMcServerUrl("http://10.0.55.10:8090"); cosmic.setWebResPath("C:/Users/any50/cosmic/home/static-file-service"); // cosmic.setFsServerUrl("127.0.0.1", 8100); // cosmic.setImageServerUrl("127.0.0.1", 8100); //自定义本地苍穹调试服务的端口 cosmic.setCosmicWepPort(8881); cosmic.start(); } }