Heroku API:将该jar添加到NetBeans中 [英] Heroku API: adding the jar into NetBeans

查看:119
本文介绍了Heroku API:将该jar添加到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屋!

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