Error: Cound not find or load randoop.main.Main

39 views
Skip to first unread message

Donte Rogers

unread,
Mar 29, 2016, 9:14:44 AM3/29/16
to randoop...@googlegroups.com, randoop-d...@googlegroups.com
Hello im trying to generate unit tests for a class in eclipse but cant seem to get past the error masseage: "Error could not find or load randoop.main.Main" I have already downloaded the randdop.jar file and added it to my classpath in eclipse, also tried invoking randoops main class in a command prompt but Im not sure if im doing it right, any help is appreciated, thank you.

bjke...@cs.washington.edu

unread,
Mar 29, 2016, 10:45:59 AM3/29/16
to Randoop Developers, randoop...@googlegroups.com, dont...@yahoo.com
Donte,

That error suggests something is wrong with your classpath in your command line.  Your classpath only needs to include the jar file and the parent directory where your class files are located.  

If you need more help, let us know what OS you are using and what command you've tried. It might be easiest to try to simply run Randoop without any classes.

Ben

bjke...@cs.washington.edu

unread,
Mar 29, 2016, 11:26:05 AM3/29/16
to Randoop Developers, randoop...@googlegroups.com, dont...@yahoo.com
Sorry, I'm not reading well today.



On Tuesday, March 29, 2016 at 6:14:44 AM UTC-7, Donte Rogers wrote:
Reply all
Reply to author
Forward
0 new messages