NGrinderAgentStarter 这个是agent启动的main类,如果从controller里面下载agent,直接解压缩运行,不需要任何配置就可以运行的。你是不是修改了什么地方的配置或者代码?
-----Original Message-----
From: "shuewah [via ngrinder]"<[hidden email]>
To: "Mavlarn"<[hidden email]>;
Cc:
Sent: 2015-01-21 (星期三) 17:56:22
Subject: agent在linux上运行报错
[root@ND0302015126 ngrinder-agent]# ./run_agent.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org.ngrinder.NGrinderAgentStarter
at gnu.java.lang.MainThread.run(libgcj.so.10)
Caused by: java.lang.ClassNotFoundException: org.ngrinder.NGrinderAgentStarter not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.10)
at java.lang.ClassLoader.loadClass(libgcj.so.10)
at java.lang.ClassLoader.loadClass(libgcj.so.10)
at gnu.java.lang.MainThread.run(libgcj.so.10)
|