1

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?

Michael A
  • 5,770
  • 16
  • 75
  • 127

1 Answers1

4

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

Nate
  • 31,017
  • 13
  • 83
  • 207
CPW
  • 56
  • 1