Question

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?

Was it helpful?

Solution

add truezip-driver-file.jar & truezip-kernel.jar according to Maven POM.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top