I cannot understand why this error occurs when I am running the jar file:
Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/mzmine/main/MZ mineModulesList at net.sf.mzmine.main.MZmineCore.main(MZmineCore.java:100) Caused by: java.lang.ClassNotFoundException: net.sf.mzmine.main.MZmineModulesList
It says that MZmineModulesList
class is not found but it exists in this path. Maybe I did something wrong when I was writing classes to the jar file?
I wanted to add that this appeared after I replaces MZmineModuleList file with updated version. What I have done: I extracted files from Jar and added my new classes, and also instead of the old MZmineModuleList class I replaced it with new one, where several lines of codes are added. Maybe when I am writing to the jar file using the method of java.util.jar I missed something?