Pregunta

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?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top