Ohh… I think it was the old version I was using.
I just downloaded the new version and it works. However, I have one question. I was looking for com.graphhopper.storage.GraphHopperStorage but cannot find it. Where is that class? I was trying to find the osm ids of the route and found this one (OSM Data in GraphHopper 3.0). But it also does not work because it cannot import GraphHopperStorage class.
Can you please give me any suggestion?