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?