Heroku API:将该jar添加到NetBeans中 [英] Heroku API: adding the jar into NetBeans
问题描述
继续
因此,它终究是默认包中的?如何解决这个问题?
我必须创建一个新的 - 现在基于Maven的项目并使用 pom.xml
,详见 https:// github.com/heroku/heroku.jar
Following up on How to obtain databse url etc without the heroku CLI I have added https://github.com/heroku/heroku.jar to my NetBeans project's library: "Add JAR/Folder" (I copied the jar first to /home/username/netbeans-8.2/ide/modules/ext) But HerokuAPI
is not being recognized, and Alt-Space
does not show any suggestions for imports, so I guess netbeans simply has not recognized the jar's contents. Maybe this thing is hidden in the default package, and so I can't import it?
EDIT: Here is the image
So, it is in the default package after all? How to fix this?
I had to create a new -- now Maven-based -- project and resolve the dependency using pom.xml
, as explained on https://github.com/heroku/heroku.jar
这篇关于Heroku API:将该jar添加到NetBeans中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!