Exception running TrueZip

∥☆過路亽.° 提交于 2019-12-11 06:46:44

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!