在 Eclipse 中使用 FileUtils [英] Using FileUtils in eclipse

查看:36
本文介绍了在 Eclipse 中使用 FileUtils的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用 FileUtils 时,我收到无法解决"错误.

When trying to use FileUtils I get "cannot be resolved" error.

那么,如何安装 FileUtils 库才能在 Eclipse 中使用它?我看到它是一个 Ant 实用程序,但我不确定需要安装多少个 jar.

Then, how do I install FileUtils library to be able to use it in Eclipse? I see it is an Ant utility, but I am not sure how many jars I need to install.

推荐答案

打开项目的属性---> Java Build Path ---> Libraries tab ---> Add External Jars

Open the project's properties---> Java Build Path ---> Libraries tab ---> Add External Jars

将允许您添加罐子.

您需要从这里下载commonsIO.

这篇关于在 Eclipse 中使用 FileUtils的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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