Hi,
I want to generate Graphs with gex4f in Eclipse. However, I do not get it started.
I tried to launch the example from http://gexf.net/gexf4j/ but what I get is red-code.
For example, it says in the first line: Type mismatch: cannot convert from GexfImpl to Gexf
I think that I imported the jar-File correctly.
Does anybody have an idea of what could be the issue?
Thanks!
[SOLVED] GEXF and gexf4j - problem getting it started
-
- Posts:10
- Joined:21 Aug 2011 19:14 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: GEXF and gexf4j - problem getting it started
I found the error, however now, starting the program, the following exception is thrown:
Has someone an idea?
Thanks a lot!
Code: Select all
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
at com.ojn.gexf4j.core.impl.MetadataImpl.setCreator(MetadataImpl.java:47)
at GexfBuilder.main(GexfBuilder.java:14)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Preconditions
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
Thanks a lot!
-
- Gephi Community Manager
- Posts:964
- Joined:09 Dec 2009 14:41 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: GEXF and gexf4j - problem getting it started
A new version of the library is available here. Please use Github issues system.