`错误:osgi:[optaplanner-core]构建CloudBalancingHelloWorld时出现意外的构建错误

问题描述 投票:2回答:1
  1. 我克隆了optaplanner的存储库。
  2. 我在IntelliJ IDEA中导入了顶级pom.xml。
  3. 然后我试着运行org.optaplanner.examples.cloudbalancing.app.CloudBalancingHelloWorld

我收到以下错误:Error:osgi: [optaplanner-core] Unexpected build error

docthe maven integration will take care of the rest,所以我想我错过了什么。

Screenshot of IDEA showing the build error

  • 问题1:我是否可以在某种程度上配置IDEA(或使用CLI)来显示更详细的错误,以便我可以调试它? Unexpected build error不足以让我把这个问题弄清楚。
  • 问题2:如何解决此错误?

仅供参考,此框正在运行Ubuntu 18.04(编辑:在Fedora 28上完全相同的问题)。我的maven版本如下。

$ mvn --version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-25T04:49:05+09:00)
Maven home: /opt/apache-maven-3.5.3
Java version: 1.8.0_181, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-32-generic", arch: "amd64", family: "unix"

编辑:IntelliJ版本:2018.2.1

运行配置:

Run configuration

intellij-idea optaplanner
1个回答
0
投票

您应该在IDEA中禁用Osmorc插件。在这之后,项目将正常建立

© www.soinside.com 2019 - 2024. All rights reserved.