如何在运行智能GraphHopper时解决此异常?

时间:2016-08-02 16:30:38

标签: graphhopper

当我运行GraphHopper主项目时:

这是输出:

strs = [config=../config.properties, maps/dublin-m50.osm]
2016-08-02 18:13:43,335 [main] WARN  graphhopper.util.Helper - Skipping configuration at line: default location for cache is used /tmp/srtm
Exception in thread "main" java.lang.IllegalArgumentException: You need to specify an OSM file.
    at com.graphhopper.GraphHopper.init(GraphHopper.java:483)
    at com.graphhopper.GraphHopper.main(GraphHopper.java:57)
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 1.337s
Finished at: Tue Aug 02 18:13:43 EET 2016
Final Memory: 7M/245M
------------------------------------------------------------------------
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (default-cli) on project graphhopper: Command execution failed. Process exited with an error: 1(Exit value: 1) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

请注意,我已将dublin-m50.osm添加到地图文件夹中,如自述文件中所述。

我也有一个问题我正在使用最新的Maven 3.3.9,这会导致问题吗?

0 个答案:

没有答案