Mvn clean install fails (Symbol not found)

Hi,

I’m trying to install graphhopper on my server following the “Deploy Guide” from here: https://github.com/graphhopper/graphhopper/blob/master/docs/core/deploy.md.

What I’ve done:

  1. Cloned repo and switched to branch 0.8
  2. Run mvn clean install war:war

Output:
[ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/forge/graphhopper/core/src/main/java/com/graphhopper/coll/IntDoubleBinHeap.java:[23,38] error: cannot find symbol [ERROR] symbol: class OTPIntDoubleBinHeap

Am I missing something? Running ./graphhopper.sh web europe_germany_berlin.pbf works fine.

OS: Ubuntu 16.04.1 LTS
Java Version: openjdk version "1.8.0_111" OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14) OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
Maven: Apache Maven 3.3.9

Thanks in advance

The war:war is not fully supported, see https://github.com/graphhopper/graphhopper/issues/297

But what here is probably missing is the submodules like tools-lgpl, not sure how to fix this. I do not really like application servers especially for GraphHopper which requires lots of RAM and could interfere with other apps, so I’ll always suggest starting it via the included jetty (ie. with the graphhopper.sh web command)

1 Like