java - 只需将 twitter4j-core-3.0.5.jar 添加到 net beans 和 maven 中的应用程序类路径中

标签 java eclipse maven netbeans-7

我正在尝试根据此链接添加一个 jar : http://twitter4j.org/en/index.html#howToUse它指出“只需将 twitter4j-core-3.0.5.jar 添加到您的应用程序类路径中。”

我该如何做到这一点:

  1. Netbeans
  2. maven
  3. eclipse

谢谢!

最佳答案

这是netbeans的最佳答案;然后我将使用那里的 pom.xml : 达里尔·尼克森

Joined: 23 May 2013
Posts: 1

PostPosted: Thu May 23, 2013 4:50 pm Post subject: Had the same problem, Brian's suggestion worked Reply with quote
Had the same problem, Brian's suggestion worked. (NetbBeans IDE 7.3)
To clarify, right-click the Libraries folder in the project viewer, select properties, in Project Properties window, select Libraries, click Add Jar/Folder button, select ALL jar files in your source folder (ctrl-a), not just the folder, and click Open to add them. This may be overkill, but it worked and I was able to compile and run. Thanks, Brian.

netbeans 新闻组对 Daryl 的评价很好!

关于java - 只需将 twitter4j-core-3.0.5.jar 添加到 net beans 和 maven 中的应用程序类路径中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22104782/

相关文章:

eclipse - Eclipse Indigo 中没有 SVN(subclipse)菜单

java - 无法在Eclipse中运行 "Hello World"程序

java - Jersey 依赖冲突

maven - tomcat 插件中未加载 Servlet api

maven - 如何解决不可解析的导入POM?

java - 在所有子项目中的所有测试之前运行子项目中的 checkstyles

java - java中有没有一种抽象的方法来获取实体的所有属性?

java - 在 Java LoginModules 之间传递信息(通用映射问题)

windows - 在 Ubuntu Linux 中从 Eclipse 交叉编译 Windows 应用程序?

java - 在 Android 上 react native RTL