skadistats / clarity-examples

Example code for clarity
BSD 3-Clause "New" or "Revised" License
115 stars 38 forks source link

Bug report - AllChatProcessor #55

Closed Whoeza closed 1 year ago

Whoeza commented 1 year ago

Hi, after building and running AllChatProcessor from the examples, I get this error:

java -jar .\target\allchat.one-jar.jar .\target\replay.dem > output.txt Exception in thread "main" java.lang.ClassNotFoundException: skadistats.clarity.examples.allchat.Main at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:713) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588) at com.simontuffs.onejar.JarClassLoader.loadClass(JarClassLoader.java:630) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at com.simontuffs.onejar.Boot.run(Boot.java:334) at com.simontuffs.onejar.Boot.main(Boot.java:166)

Not sure what's wrong... I refactored the file with IDEA to call it Main.java and changed "replay.dem" into args[0], and it worked for me.