biggis-project / biggis-landuse

Land use update detection
http://biggis-project.eu/biggis-docs/demos/landuse/
11 stars 3 forks source link

Maven build failes due to reflection issue in Java 10 #23

Open aklink opened 6 years ago

aklink commented 6 years ago

biggis-landuse is developed with scala for jdk 1.8, it is not compatible to java 10

if maven build fails with reflection issue it might be due to wrong java version. Please install Java 8: sudo apt-get install openjdk-8-jdk and set it to higher priority than java 10: sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-8-oracle/jre/bin/java 1181 or change default: sudo update-alternatives --config java see: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-18-04

aklink commented 6 years ago

Note: The Maven Surefire Plugin (tests) may fail in recent Maven builds, see https://github.com/biggis-project/biggis-landuse/issues/21