问题
I run a simple TrueZip code:
TFile src = new TFile(path + file_to_add);
TFile dst = new TFile(path + outZipFile);
src.cp_rp(dst);
When i run the program the compiler throws (on the first line):
java.lang.NoClassDefFoundError: de/schlichtherle/truezip/fs/FsSyncOption
I have truezip-file-7.4.3.jar and truezip-file-7.4.3-sources.jar files.
Am i missing jars or the problem may be something else?
回答1:
add truezip-driver-file.jar & truezip-kernel.jar according to Maven POM.
来源:https://stackoverflow.com/questions/12403496/exception-running-truezip