trouble running Twister

178 views
Skip to first unread message

Saayan

unread,
Jun 4, 2011, 11:15:33 AM6/4/11
to Twister Discussion Group
Hi,

I get the following error when I run start_twister.sh
**************************************************************
saayan@ubuntu:~/twister-0.8/bin$ $TWISTER_HOME/bin/start_twister.sh
192.168.1.15
saayan@ubuntu:~/twister-0.8/bin$ Exception in thread "main"
java.lang.NoClassDefFoundError: cgl/imr/worker/TwisterDaemon
Caused by: java.lang.ClassNotFoundException:
cgl.imr.worker.TwisterDaemon
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: cgl.imr.worker.TwisterDaemon. Program
will exit.
^C
saayan@ubuntu:~/twister-0.8/bin$
**************************************************************

I am running Ubuntu 10.10 with Java 6.0 (OpenJDK)

I got the same error when I tried to run with Twister-0.90. I tried a
clean build with ant which also failed.

Finally I downloaded 0.80 and did a clean ant build which was
successful but then I get this error.

Any help is appreciated.

Thanks.
Saayan

Bingjing ZHANG

unread,
Jun 4, 2011, 9:32:43 PM6/4/11
to twister-disc...@googlegroups.com
Hi Saayan

If you configure environment settings in bashrc,
you can try to comment the following line at the beginning of the file:

# If not running interactively, don't do anything
#[ -z "$PS1" ] && return


Then you need to cd to $TWISTER_HOME/bin/ first, then execute ./start_twister.sh

I guess it should work after these two steps.

If you still see the same problem, please email me again.


Thank you for using Twister.

Kiran Rohra

unread,
Apr 4, 2017, 12:22:53 PM4/4/17
to Twister Discussion Group, saayan.bh...@gmail.com
I apply all these methods but still same error in Twister

Error: Could not find or load main class cgl.imr.worker.TwisterDaemon

Help me????

sarvesh mullapudi

unread,
Feb 21, 2018, 12:28:18 AM2/21/18
to Twister Discussion Group
I am also getting the same error
Error: Could not find or load main class cgl.imr.worker.TwisterDaemon
Anyone help me.....................
Reply all
Reply to author
Forward
0 new messages