【问题标题】:Application building error for Opendaylight SodiumOpendaylight Sodium 的应用程序构建错误
【发布时间】:2020-01-24 13:27:42
【问题描述】:

我想为 OpendayLight 控制器部署一个应用程序。 所以,我正在关注本指南:https://docs.opendaylight.org/en/stable-sodium/developer-guide/developing-apps-on-the-opendaylight-controller.html

我的步骤很简单:

  1. 设置基础架构(正确的 settings.xml,安装 maven, 安装jdk);
  2. 下载的示例模块: mvn 原型:生成 -DarchetypeGroupId=org.opendaylight.archetypes -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeCatalog=remote -DarchetypeVersion=1.2.1 提供这些信息:
Define value for property 'groupId': : org.opendaylight.example 
Define value for property 'artifactId': :  example 
Define value for property 'version':  1.0-SNAPSHOT: : 1.0.0-SNAPSHOT 
Define value for property 'package':  org.opendaylight.example: : 
Define value for property 'classPrefix':
${artifactId.substring(0,1).toUpperCase()}${artifactId.substring(1)}
Define value for property 'copyright': : Copyright (c) 2015Yoyodyne, Inc
  1. 运行 mvn clean install 几分钟后,它会返回一个 错误 (here the error log)。 所以我无法编译项目。

谁能帮我解决它? 非常感谢

更新:新日志可在https://lists.opendaylight.org/g/controller-dev/message/14938获得

【问题讨论】:

  • [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default) on project odl-hello-api: There are test failures. Please refer to /home/vnf/onap_plugin/hello/features/odl-hello-api/target/surefire-reports for the individual test results. 看起来你的测试失败了,这就是阻止你构建的原因

标签: java opendaylight


【解决方案1】:

这条线对我来说很突出:

java.rmi.NotBoundException: b171a475-c036-43f1-a98d-c8cd8835aec9

您的应用程序是否正在尝试打开某个网络端口 是否已被同一系统上运行的另一个进程使用(绑定到)?

【讨论】:

  • 可能是端口冲突,也可能是 SFT 容器未能上来(惊喜,惊喜)。
  • 我认为新日志显示绑定错误是由于清单不存在。
猜你喜欢
  • 1970-01-01
  • 2020-06-16
  • 1970-01-01
  • 2017-06-04
  • 2013-10-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-08-11
相关资源
最近更新 更多