[GraphHopper] NoClassDefFoundError

Peter K peathal at yahoo.de
Sat Oct 5 14:16:38 UTC 2013


Hi Andi,

at the moment you'll have to create it. Please create an issue and +1 it
if you want that it is automatically created :)

Or go to the subproject 'core' and type:
mvn -DskipTests=true clean install assembly:single

then there will be something like this:
core/target/graphhopper-0.2-SNAPSHOT-jar-with-dependencies.jar

Or you just go to
https://oss.sonatype.org/content/groups/public/com/graphhopper/graphhopper-web/
and unzip the war file where all necessary dependencies are (but there
are also unnecessary which you should remove)

Regards,
Peter.

> Thank you for answering both of my questions!
>
> However I dont know where to find gh-with-dependecies.jar (but
> including jars directly worked).
>
> Dne 5.10.2013 11:28, Peter K napsal(a):
>> Hi Andy,
>>
>> you can just include the jars directly in your project (in this case
>> trove4j) or use the graphhopper-with-dependencies.jar
>>
>> Regards,
>> Peter.
>>
>>> Hello!
>>>
>>> I am using gh snaphot 0.1.1 downloaded from
>>> https://oss.sonatype.org/content/groups/public/com/graphhopper/graphhopper-parent/.
>>>
>>>
>>> Unfortunately I am getting Exception in thread "main"
>>> java.lang.NoClassDefFoundError: gnu/trove/list/TIntList when trying to
>>> run my desktop app. I somehow manage to fix this by using maven. Even
>>> though I didnt used maven-downloaded lib but my local, it somehow
>>> fixed classpath so it worked. How to do this manualy so I dont need to
>>> use Maven?
>>>
>>> Thanks for any tips.
>>>
>>> Andy




More information about the GraphHopper mailing list