GraphHopper.com | Forum | GitHub | Maps | Blog

Graphhopper and JDK11


#1

Hi there,

I am using the graphhopper low level api in a project at work. I am currently in the process of migrating the project to java 11 including module-infos.

I need to pull in both unnamed modules core an api to fulfill the requirements of my project, however both modules overlap so compilation rightfully fails resulting in errors like

[ERROR] the unnamed module reads package com.graphhopper from both graphhopper.core and graphhopper.api

Any ideas?


#2

We do not yet include module information into our jars as we would have to create two distributions. Without module info it will work though and for a later version we are of course properly doing this stuff, but this won’t happen for the next release.