Class is there but NoClassDefFoundError
lately I keep running into the same problem over and over again.
I have several projects and reference them via their jar files in order to use their classes.
All projects are in one folder and the references are relative.
While compiling everything works fine when running or debugging the program I get something like:
Exception in thread "main" java.lang.NoClassDefFoundError: sequences/AminoAcids as soon ad the first line referencing AminoAcids is hit.
The class exists in the given location and has recently been build so there should be no problem.
Also other classes in the same jar file do not have the same problem.
I fixed the problem before by renaming the packages and rebuilding and other strange approaches.
Please tell me a proper way to solve this problem.
There may be a relation to me using SVN and although having the same directory structure on all the computers
something might cause this problem via this path.
How do I fix such a problem without having to use strange approaches like renaming of packages etc.