Happy3w

NC57启动失败: client and server vid is same

2016.12.21
开发环境:eclipse3.8+jre1.5+win7x64 业务环境:NC5.7 主要问题:NC5.7启动失败 问题描述: 1、先解决了JSObject cannot be resolved问题 2、启动出现了如下错误: run in local application. 调试: client and server vid is same Codes are cached at the client side. java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ...... at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at nc.ui.sm.login.AppletContainer.startDescktop(AppletContainer.java:502) at nc.ui.sm.login.AppletContainer.init(AppletContainer.java:433) ....... Caused by: java.lang.Error: Unresolved compilation problem: at nc.ui.sm.login.NCAppletStub.getInstance(NCAppletStub.java:64) at nc.ui.sm.login.Loader.(Loader.java:35) ... 13 more 解决方案: 1、将nc.ui.sm.login.NCAppletStub源代码加入到项目中。 如果没有现成的源代码就在NCHome找到class反编译下后得到源代码。 2、重新启动debug客户端,OK,顺利启动,一切正常运行。