Error dependecy "org.codehaus.jackson"


Danny
 

Hi Jensen,

I have a problem when I want to use the "jackson" library in my ALTO project.

I am modifying the alto-Northbound project, I am adding a few code lines:

=======================================================
In pox file of alto-Northbound project I added:

<dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-core-asl</artifactId>
      <version>1.9.7</version>          
    </dependency>

in imports add:

org.codehaus.jackson.jackson-core-asl.*
========================================================
In Java code (AltoNorthbound.java), I added:

import org.codehaus.jackson.JsonNode;
...
JsonNode rows = response.getEntity(JsonNode.class);
============================================================

The error is:
java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonNode
    at org.opendaylight.alto.northbound.AltoNorthbound.REST_Query(AltoNorthbound.java:234)
    at org.opendaylight.alto.northbound.AltoNorthbound.retrieveNetworkMap(AltoNorthbound.java:166)

========================================================

Ss

Danny

Join z.archive.alto-dev@lists.opendaylight.org to automatically receive all group messages.