Linux无法登录
-
Login failed: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
2022-12-22 20:38:32 E/console: java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
at java.desktop/java.awt.Window.initGC(Unknown Source)
at java.desktop/java.awt.Window.init(Unknown Source)
at java.desktop/java.awt.Window.<init>(Unknown Source)
at java.desktop/java.awt.Frame.<init>(Unknown Source)
at java.desktop/java.awt.Frame.<init>(Unknown Source)
at java.desktop/javax.swing.JFrame.<init>(Unknown Source)
at mirai-login-solver-sakura-0.0.4.mirai2.jar//com.kasukusakura.mlss.resolver.SakuraLoginSolver.JFrameWithIco(SakuraLoginSolver.kt:312)
at mirai-login-solver-sakura-0.0.4.mirai2.jar//com.kasukusakura.mlss.resolver.SakuraLoginSolver.onDeviceVerification$mirai_login_solver_sakura(SakuraLoginSolver.kt:176)
at mirai-login-solver-sakura-0.0.4.mirai2.jar//com.kasukusakura.mlss.resolver.SakuraLoginSolver.onSolveDeviceVerification(SakuraLoginSolver.kt:71)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl.doLogin(SsoProcessor.kt:259)
at net.mamoe.mirai.internal.network.components.SsoProcessorImpl$SlowLoginImpl$doLogin$1.invokeSuspend(SsoProcessor.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) -
版本 2.13.2
腾讯云服务器 -
awt 我记得是GUI相关的包,看下linux系统是否缺少了相关配置或者启动时指定参数
-