在Ubuntu上安装Kurento时出错 [英] Install error with Kurento on ubuntu
问题描述
我已经遍历了关于Stackoverflow的所有Kurento问题,而且以前似乎从未出现过这种错误.
I have gone through all the Kurento questions on Stackoverflow and this error dose not seem to have arisen before.
我已经按照安装指南安装了Kurento媒体服务器和Java客户端示例.
I have installed the Kurento media-server and java client examples according the installation guides.
我正在运行媒体服务器.当我去运行客户端应用程序时会出现问题.无论选择哪个,都会出现相同的问题.
I have the media-server running. The problem arises when i go to run the client application. The same issue comes up not matter which one I choose.
这是生成的错误:
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.kurento.tutorial:kurento-hello-world:6.1.1-SNAPSHOT (/root/kurento-tutorial-java/kurento-hello-world/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.kurento.tutorial:kurento-tutorial:6.1.1-SNAPSHOT: Could not find artifact org.kurento:kurento-parent-pom:pom:6.1.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ org.kurento.tutorial:kurento-tutorial:6.1.1-SNAPSHOT, /root/kurento-tutorial-java/pom.xml, line 5, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
这是我的pom.xml文件
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.kurento.tutorial</groupId>
<artifactId>kurento-tutorial</artifactId>
<version>6.1.1-SNAPSHOT</version>
</parent>
....... more stuff
<!-- Kurento -->
<dependency>
<groupId>org.kurento</groupId>
<artifactId>kurento-client</artifactId>
<version>6.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.kurento</groupId>
<artifactId>kurento-utils-js</artifactId>
</dependency>
我尝试按照本教程进行操作用于管理每晚构建,但这也没有任何改变.
I have tried following this tutorial for managing nightly builds but this hasn't change anything either.
在安装指南中,pom.xml示例中没有"SNAPSHOT",我也曾尝试删除它,但这仍然没有效果.
In the installation guidelines there is no "SNAPSHOT" in the pom.xml sample, I have also tried removing this and but this still had no effect.
我正在使用Ubuntu 14.04系统.我想知道有人能指出我正确的方向来解决这个问题吗?
I am using a Ubuntu 14.04 system. I am wondering could someone point me in the right direction to solving this issue?
推荐答案
我已通过将6.1.1快照POM.xml替换为6.0.0 POM.xml来解决了该错误.我使用的kurento媒体服务器的版本是6.0.0,我需要获取与此匹配的pom.xml.
I have resolved this error by replacing the 6.1.1 snapshot POM.xml with the 6.0.0 POM.xml. The version of the kurento-media server I was using was 6.0.0 and I needed to get the pom.xml that matched this.
这是指向6.0.0 pom.xml的GITHUB提交的链接,我用来替换当前的快照版本.
This is a link to the GITHUB commit of the 6.0.0 pom.xml which I used to replace the current snapshot version.
这篇关于在Ubuntu上安装Kurento时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!