Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Wich is the correct librery #14

Open
omarmanrique opened this issue Mar 18, 2016 · 0 comments
Open

Wich is the correct librery #14

omarmanrique opened this issue Mar 18, 2016 · 0 comments

Comments

@omarmanrique
Copy link

My porm.xml file

    <dependency>
        <groupId>com.google.common.geometry</groupId>
        <artifactId>s2-geometry-java</artifactId>
        <version>1.0.0</version>
        <scope>system</scope>
        <systemPath>${basedir}/libs/s2-geometry-java.jar</systemPath>
    </dependency>

    <dependency>
        <groupId>com.google.common</groupId>
        <artifactId>guava-r09</artifactId>
        <version>1.0.0</version>
        <scope>system</scope>
        <systemPath>${basedir}/libs/guava-r09.jar</systemPath>
    </dependency>

    <dependency>
        <groupId>com.amazonaws</groupId>
        <artifactId>aws-java-sdk-dynamodb</artifactId>
        <version>1.10.61</version>
    </dependency>

    <dependency>
        <groupId>com.amazonaws.geo</groupId>
        <artifactId>dynamodb-geo</artifactId>
        <version>1.0.0</version>
        <scope>system</scope>
        <systemPath>${basedir}/libs/dynamodb-geo-1.0.0.jar</systemPath>
    </dependency>

The error

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
at com.amazonaws.geo.util.GeoJsonMapper.(GeoJsonMapper.java:26)
at com.amazonaws.geo.dynamodb.internal.DynamoDBManager.putPoint(DynamoDBManager.java:125)
at com.amazonaws.geo.GeoDataManager.putPoint(GeoDataManager.java:132)
at com.manriqueweb.awsdynamodb.main.Main.main(Main.java:40)
Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.map.ObjectMapper
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

org.codehaus.jackson.map.ObjectMapper

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant