Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

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

Open
aklink opened this issue Nov 13, 2018 · 1 comment
Open

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

aklink opened this issue Nov 13, 2018 · 1 comment

Comments

@aklink
Copy link
Member

aklink commented Nov 13, 2018

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
Copy link
Member Author

aklink commented Nov 13, 2018

Note: The Maven Surefire Plugin (tests) may fail in recent Maven builds, see #21

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant