running Randoop with jar files

20 views
Skip to first unread message

Parvin Sadat Feizabadi

unread,
Feb 21, 2017, 1:08:08 PM2/21/17
to randoop-d...@googlegroups.com



Hello All,

I'm trying to use Randoop to test my project. I can run the example of the Randoop manual
without any problem. But when I try with my own code, I have a problem. My project is a big one with lots of external libraries which are managed using Maven.

Now, when I run the randoop from command line, I see the "NoClassDefFoundError" which relates to one of my external libraries (in my case HWPFDocument which is part of the apache poi library). Can anyone please help me what I should do?

I tried to add this library to the classpath, but it also didn't solved the problem. Should I add all the external jar files as the -classpath parameter? That's practically impossible! I have hundreds of libraries. If I want to set the classpath variable of Windows, the problem is that, it's not a good idea to add all my project folders as the classpath variable. Am I doing something wrong?

Best Regards,
Feizabadi

--
Parvin Sadat Feizabadi
Ph.D. Student
Computational Linguistics Department
University of Heidelberg
Email: feiz...@cl.uni-heidelberg.de
Reply all
Reply to author
Forward
0 new messages