运行TrueZip的异常 [英] Exception running TrueZip

查看:106
本文介绍了运行TrueZip的异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行一个简单的TrueZip代码:

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

我有truezip-file-7.4.3.jar和truezip-file-7.4.3-sources.jar文件.

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?

推荐答案

添加 truezip-driver-file.jar & truezip-kernel.jar (根据Maven POM).

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

这篇关于运行TrueZip的异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆