【发布时间】:2015-06-01 01:22:29
【问题描述】:
我有一个外部 jar 想要添加到我的 ninja framework 应用程序中。
我已经将文件包含在根目录下,但是没有用。
我还尝试使用 IntelliJ IDE 将其作为依赖项包含在内。
这也不起作用。在部署到 heroku 时,编译失败,因为找不到包。
最后,我尝试了这个https://devcenter.heroku.com/articles/local-maven-dependencies#deploy-the-artifact-into-the-repo,但它失败了并显示以下错误消息:
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file (default-cli) on project 1.0: No transfer protocol found. -> [Help 1]
谁能提出其他建议?
谢谢
【问题讨论】:
标签: java maven heroku intellij-idea ninjaframework