battlecatsultimate / BCU-java-PC

battle cats ultimate, a fan-made battle cats emulator.
94 stars 72 forks source link

Class not found #81

Closed Currypan1229 closed 1 year ago

Currypan1229 commented 2 years ago

Release "BCU 0-5-1-0"

java.lang.NoClassDefFoundError: com/google/gson/JsonElement at common.pack.PackData.(PackData.java:411) at common.pack.PackData$DefPack.(PackData.java:51) at common.pack.UserProfile.(UserProfile.java:323) at common.pack.UserProfile.profile(UserProfile.java:234) at main.MainBCU.main(MainBCU.java:301) Caused by: java.lang.ClassNotFoundException: com.google.gson.JsonElement at java.net.URLClassLoader.findClass(URLClassLoader.java:387) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 5 more

Please add gson library https://jar-download.com/artifacts/com.google.code.gson

MandarinSmell commented 2 years ago

You have to run BCU-Initializer first. We made it run by using external folder to reduce jar file size