BotFactory.INSTANCE.newBot出错 ClassNotFoundException: net.mamoe.mirai.internal.MiraiImpl #1061
Unanswered
xingchenxuup
asked this question in
Q&A
Replies: 2 comments
-
https://github.com/mamoe/mirai/blob/dev/docs/ConfiguringProjects.md |
Beta Was this translation helpful? Give feedback.
0 replies
-
mirai 运行时需要 net.mamoe:mirai-core |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Caused by: java.lang.ClassNotFoundException: net.mamoe.mirai.internal.MiraiImpl
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at net.mamoe.mirai.FindMiraiInstanceKt.findMiraiInstance(findMiraiInstance.kt:18)
at net.mamoe.mirai.Mirai$Mirai$2.invoke(IMirai.kt:37)
at net.mamoe.mirai.Mirai$Mirai$2.invoke(IMirai.kt)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at net.mamoe.mirai.Mirai.getInstance(IMirai.kt)
at net.mamoe.mirai.BotFactory$INSTANCE.newBot(BotFactory.kt:115)
at net.mamoe.mirai.BotFactory.newBot(BotFactory.kt:62)
at com.rabbit.robot.star.RobotStar.(RobotStar.java:31)
... 1 more
Beta Was this translation helpful? Give feedback.
All reactions