Exception in thread "main" java.lang.IllegalArgumentException: CH profile references unknown profile 'profile_tc'

Hi there,

I am receiving the following error where I execute the following in IntelliJ: java -Ddw.graphhopper.datareader.file=t4a_highways_202110.osm.pbf -jar graphhopper-tools-4.0-jar-with-dependencies.jar server config.yml graph.location=./graph-cache

These are the files in my folder:

And this is how my config.yml looks:

Any ideas what could cause this error and how to solve it?

I think you are using the wrong jar. If you want to start the GraphHopper server you need the web/target/graphhopper-web-*.jar instead of graphhopper-tools.


You are right, your suggestion worked!

Thank you @easbar!

Powered by Discourse