This group is locked. No changes can be made to the group while it is locked.
Date
1 - 3 of 3
Error dependecy "org.codehaus.jackson"
Danny
Hi Jensen It was very helpful your reply. 1. I am using now com.fasterxml.jackson.core 2. At present I am modifying the Northbound module, because I am doing some tests recovering ALTO information of my Neo4j graph database (Not from MD-SAL data store), so I need only the input parameters (for example "id" in the retrieveNetworkMap function), after I create a RFC7285NetworkMap variable and to assigns its properties (for example "meta" and "map") from my ALTO information (recovered from a query to Neo4j) and return the request. Thanks again Ss Danny
On Thu, Aug 27, 2015 at 10:45 PM, Jensen Zhang <jingxuan.n.zhang@...> wrote:
|
|
Jensen Zhang
Hi Danny, Projects in OpenDaylight use OSGi framework, and they need to be installed in karaf as features [1].1. You can use com.fasterxml.jackson.core [2], since this is a newer jackson implementation than org.codehaus.jackson. And we have imported bundles for this into alto-commons which is an dependency of alto-northbound, so you can just repleace the dependency declaration in alto-northbound by this new one. ---
|
|
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
|
|