Closed Bios-Marcel closed 5 months ago
Hi,
I faced the same problem and fixed it. You just need to add a declaration of a dependency to FastUtil in pom.xml like:
<dependencies>
<dependency>
<groupId>org.gephi</groupId>
<artifactId>gephi-toolkit</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>it.unimi.dsi</groupId>
+ <artifactId>fastutil</artifactId>
+ <version>7.0.13</version>
+ </dependency>
</dependencies>
I tried recent version of FastUtil (8.3.0) but it didn't work. Version 7.0.13 works in my environment (Oracle JDK 8)
The demo doesn't work for me either, but I'm having issues in a different way. I'm getting a java.lang.ClassNotFoundException: org.gephi.toolkit.demos.Main
even though I have the whole toolkit locally cloned. I'm trying to run Main.java
with mvn exec:java -Dexec.mainClass=org.gephi.toolkit.demos.Main
.
You neee to build the project before running it.
D'oh, thanks!
The demo won't even start.
I am getting those errors when trying to run
PreviewJFrame.java
:I am assuming this is somewhat related to the problem stated in #3 , despite the fact that the last commitmessages claim to have updated everything?