org.optaplanner.examples.cloudbalancing.app.CloudBalancingHelloWorld
。我收到以下错误:Error:osgi: [optaplanner-core] Unexpected build error
doc说the maven integration will take care of the rest
,所以我想我错过了什么。
Unexpected build error
不足以让我把这个问题弄清楚。仅供参考,此框正在运行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
运行配置:
您应该在IDEA中禁用Osmorc插件。在这之后,项目将正常建立