I have been trying too long to run a Java program in a server unsuccesfully. I run
java -cp bin:../../lib/*:../../bin/:lib/*: Test
and I get
java.lang.NoClassDefFoundError: edu/uci/ics/jung/graph/UndirectedSparseGraph
The class is in a .jar located in lib/
and is requested by another class located in ../../lib
The weird thing is that some of the classes from other jars in lib/
are found. Only this particular one seems to be problematic. When I run it with Eclipse in my local it runs just fine.
Any idea what may be happening?
Thanks in advance
Solution:
No idea what happened. I just recompiled my jars.