[solved] Using external libraries

asked 2015-03-06 05:14:27 -0800

oscarfernandz gravatar image

updated 2015-03-09 12:14:05 -0800

[ Find the solution below ]

I'm using the jgraph library, I defined a dependency with jgrapht in the pom.xml and everything seems to be ok. If I don't use the library (only the dependency is defined) the bundle works fine, but when using the library (just calling the constructor of any class) it seems there is a configuration (config-pusher) problem and the service is not initialized.

Find the error here: http://pastebin.com/44QRQXnQ

The dependency I added in the pom.xml is:

<dependency>
  <groupId>jgrapht</groupId>
  <artifactId>jgrapht</artifactId>
  <version>0.7.3</version>
</dependency>

Any ideas?

Thanks a lot!

SOLUTION: I forgot to define the dependency at features

<bundle>mvn:org.jgrapht/jgrapht-core/0.9.0</bundle>

NOTE: I know it's a different library but is just an example

edit retag flag offensive close merge delete