Cynwin and cmd error with Jackson

Error when i try generate map from .osm file, Maven installed, Java installed, Maven and Java configurated,

Exception in thread “main” java.lang.NoClassDefFoundError: java/lang/reflect/MalformedParametersException
at com.fasterxml.jackson.module.paramnames.ParameterNamesModule.setupModule(
at com.fasterxml.jackson.databind.ObjectMapper.registerModule(
at io.dropwizard.jackson.Jackson.configure(
at io.dropwizard.jackson.Jackson.newObjectMapper(
at io.dropwizard.setup.Bootstrap.(
at com.graphhopper.http.GraphHopperApplication.main(
Caused by: java.lang.ClassNotFoundException: java.lang.reflect.MalformedParametersException
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
… 7 more

I cannot reproduce this issue on a recent windows machine.

Make sure that you installed a JDK (at least JDK8 is required, a JRE is not sufficient) and that this is reachable from cygwin:

javac -version

Please try from scratch and make sure you use the stable 1.0 branch:

git checkout 1.0

and then run this:

./ -a import -i europe_germany_berlin.pbf

If this still fails run the following manually and report the output:

mvn clean install

See also my comment here but let’s keep discussion here.