Error trying to compile Kurento Java tutorial [maven dependency resolution] [duplicate]

别等时光非礼了梦想. 提交于 2019-12-04 16:21:24

You have checked out the development version of the tutorials, 6.1.1-SNAPSHOT, which depends on other development versions of kurento artifacts. Those artifacts are not published in maven central, so you have three options here

  • Check out kurento-java and all related projects, such as kurento-module-creator and a bunch more. You can pull the thread from the pom, they are about 5 projects. You'll have to compile and install all of them in your local .m2 repository
  • Use our internal archiva repository
  • Checkout a tag containing a release version (i.e. git co 6.1.0)

In any case, the version of the tutorials should match the version of your KMS, so if you are using a development version of KMS, please use the development version of the tutorials. But if you are using a stable version of KMS, you should be using the matching release version of the tutorials.

You can find more info on how to work with development versions here

Try checking out Kurento Java and run mvn install on that first. That should place those missing jars in your maven repo, so those dependencies can then be found when you compile the tutorial.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!