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
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.