@devemux86 I think I figured out what the problem was. From version 0.7.0 to 0.8.x was a medium change on the api and the structure of the project (on how the jars will be created and named)
So with the version 0.8.x one has to use the GraphHopperOSM class to import osm maps or one will receive the exception above. In the 0.7.0 version and below the GraphHopper class was sufficient. However, to use the GraphHopperOSM class one has to import additionally the following maven dependency.
This is necessary because from the version 0.8.x the project was split into different jars and no complete jar (as far as I can see) will be built anymore in the map-matching project. (I also pulled the project from github and built the project but the result was the same) So the maven dependency which is given in the example here is invalid at the moment and one has to use this dependency to get the java example working:
Am I right so far or did I miss something? A little reply on this post would be nice.