如何在Java中使用org.apache.commons.lang命名空间? [英] How to use org.apache.commons.lang namespace in Java?

查看:147
本文介绍了如何在Java中使用org.apache.commons.lang命名空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用 Eclipse 使用 org.apache.commons.lang.NotImplementedException ,虽然看起来似乎从我可以看到从 IntelliSense 包资源管理器,则该命名空间不存在。

I tried in Eclipse to use org.apache.commons.lang.NotImplementedException, though it seems from what I can see both from IntelliSense and the Package Explorer, that that namespace does not exist.

所以我想我必须加载一些其他的包(你在java中调用它们的库吗?)比默认加载的那些。

So I guess I must load some other package(do you call them libraries in java?) than those it loaded by default.

这是我当前的设置:( link dead

This is my current setup: (link dead)

推荐答案

您需要向项目添加Apache commons jar文件。您可以从这里选择所需的jar - http://commons.apache.org/downloads/index .html

为lang你需要这个 - commons-lang-2.5.jar

You need to add Apache commons jar file to the project. You can select the jar you want from here - http://commons.apache.org/downloads/index.html
for lang you need this - commons-lang-2.5.jar

这篇关于如何在Java中使用org.apache.commons.lang命名空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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