Ortzi
Ortzi

Reputation: 373

Graphhopper - java.lang.IllegalStateException: Call load or importOrLoad before routing

I have developed and API which uses Graphhopper, and deployed it on a test server. I tested it and it works correctlty.

The problem is that when uploading the same project to another server, when I make an API request it crashes, showing this error:

java.lang.IllegalStateException: Call load or importOrLoad before routing

I put the same files in both servers:

So, what could be the problem? It crashes in one server and works well in the other one...

Upvotes: 1

Views: 639

Answers (1)

Ortzi
Ortzi

Reputation: 373

Finally the problem was related with permissions.

Upvotes: 0

Related Questions