在 ubuntu 上使用 Kurento 安装错误

2024-04-23

我已经浏览了 Stackoverflow 上的所有 Kurento 问题,之前似乎没有出现过这个错误。

我已经根据安装指南安装了 Kurento 媒体服务器和 java 客户端示例。

我正在运行媒体服务器。当我去运行客户端应用程序时,问题就出现了。无论我选择哪一个,都会出现同样的问题。

这是生成的错误:

[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>

我尝试过以下this https://kurento.com/docs/current/mastering/kurento_development.html#working-with-nightly-builds管理夜间构建的教程,但这也没有改变任何东西。

在安装指南中,pom.xml 示例中没有“SNAPSHOT”,我也尝试删除它,但这仍然没有效果。

我使用的是Ubuntu 14.04系统。我想知道有人能指出我解决这个问题的正确方向吗?


所有 Kurento 教程都假设您正在使用稳定版本。为了使用开发(即快照)版本,您需要将 Kurento maven archiva 添加到您的 settings.xml 文件中,因为快照不会发布到 mavencentral。

程序已解释here http://www.kurento.org/docs/6.0.0/mastering/kurento_development.html。请参阅“Kurento Java 客户端”部分。

基本上,您需要编辑 ~/.m2/settings.xml 文件并在其中添加适当的存储库。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

在 ubuntu 上使用 Kurento 安装错误 的相关文章

随机推荐