[GraphHopper] Offline model of Graphhopper
Андрей Иванов
dron0013 at mail.ru
Fri May 31 12:59:48 UTC 2013
In my project I want to use web server without internet. So I've got : 1 Virtual machine with internet and one without internet. On first VM I run GH-web server one time with internet and after that it starts without net. I copy GH-web server project from first machine(it works in offline) and starting in offline on second machine. And it try's to download files. What files should I download from first machine or previously download from internet to start web server without internet at all.
andrey at ubuntu:~/graphhopper-master$ ./graphhopper.sh web pskov.osm
## using java 1.7.0_21 (64bit) from /usr/lib/jvm/jdk1.7.0_21
## using existing osm file pskov.osm
## existing jar found core/target/graphhopper-0.1-SNAPSHOT-jar-with-dependencies.jar
## now web. JAVA_OPTS=-XX:PermSize=300m -XX:MaxPermSize=300m -XX:-UseGCOverheadLimit -Xmx1500m -Xms1500m
*********************ALL MUST WORK*******************
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.graphhopper:graphhopper-web:0.1-SNAPSHOT (/home/andrey/graphhopper-master/./web/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for com.graphhopper:graphhopper-parent:0.1-SNAPSHOT: Could not transfer artifact org.sonatype.oss:oss-parent:pom:7 from/to central (http://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known and 'parent.relativePath' points at wrong local POM @ com.graphhopper:graphhopper-parent:0.1-SNAPSHOT, /home/andrey/graphhopper-master/pom.xml, line 16, column 13: Unknown host repo.maven.apache.org: Name or service not known -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130531/d7b7df8b/attachment-0001.html>
More information about the GraphHopper
mailing list