[Gephi-plugins] Duplicate library import in several modules
mathieu.bastian at gmail.com
Sun Mar 13 04:29:26 CET 2011
I notice you have a bunch of JARs coming with the HTTPGraph module. Some of
these JARs are already present in other Gephi modules, leading to issues on
some configuration. It's a limitation from the Netbeans Platform and should
be avoided, as Gephi could fail sliently and crash due to this problem. It's
a ClassLoader problem, with duplicate classes.
Here is the log of the platform saying:
WARNING [org.netbeans.ProxyClassLoader]: Will not load class
org.apache.commons.logging.impl.Jdk14Logger arbitrarily from one of
ModuleCL at 3362a63[org.gephi.lib.batik] and
ModuleCL at 66da9ea4[net.phreakocious.httpgraph]
starting from SystemClassLoader[168 modules]; see
According to the log, 'log4j' is already included in the Batik Wrapper
module. This is bad, as it should be in a separated Library Wrapper
module...But instead of loading your own JAR, you can simply add a
dependency to the Batik Module. Similarly, 'Commons Codec' is already a
Gephi module, depend on this module rather than having your JAR.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gephi-plugins