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

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

问题描述

当尝试使用文件实用我得到解决不了的错误。

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

那么,如何安装文件实用库能在Eclipse中使用它?我认为这是一个Ant实用程序,但我不知道我需要多少罐安装。

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构建路径 - >库选项卡 - >添加外部JAR

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

将允许您添加罐子。

您需要从这里下载 commonsIO。

You need to download commonsIO from here.

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

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