Open josephmc5 opened 6 years ago
Using the Java 8 version of OpenJDK resolved this issue for me.
sudo update-alternatives --config java
sudo update-alternatives --config javac
[WARNING] Expected all dependencies to require Scala version: 2.11.8 [WARNING] com.uber.uReplicator:uReplicator-Worker:1.0.0-SNAPSHOT requires scala version: 2.11.8 [WARNING] org.scala-lang:scala-compiler:2.11.8 requires scala version: 2.11.8 [WARNING] org.scala-lang:scala-reflect:2.11.8 requires scala version: 2.11.8 [WARNING] org.scala-lang.modules:scala-xml_2.11:1.0.4 requires scala version: 2.11.4 [WARNING] Multiple versions of scala libraries detected!
Running in error when running : mvn clean package INFO] uReplicator ........................................ SUCCESS [ 0.417 s] [INFO] uReplicator-Common ................................. SUCCESS [ 39.068 s] [INFO] uReplicator-Controller ............................. SUCCESS [ 30.489 s]
[INFO] uReplicator-Manager ................................ SKIPPED [INFO] uReplicator-Distribution ........................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:13 min [INFO] Finished at: 2019-07-22T14:09:09+04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.scala-tools:maven-scala-plugin:2.14.1:compile (scala-compile-first) on project uReplicator-Worker: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.scala-tools:maven-scala-plugin:2.14.1:compile (scala-compile-first) on project uReplicator-Worker: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1)
Release 1.0 and running into error with latest default-jdk on Ubuntu. java --version openjdk 11.0.3 2019-04-16 OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu219.04.1) OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu219.04.1, mixed mode, sharing)
uReplicator compiles fine on an older version (Xenial) but fails in Bionic.