我正在尝试根据此链接添加一个 jar : http://twitter4j.org/en/index.html#howToUse它指出“只需将 twitter4j-core-3.0.5.jar 添加到您的应用程序类路径中。”
我该如何做到这一点:
- Netbeans
- maven
- eclipse
谢谢!
最佳答案
这是netbeans的最佳答案;然后我将使用那里的 pom.xml : 达里尔·尼克森
Joined: 23 May 2013
Posts: 1PostPosted: 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/