用的时候报错了,这该怎么解决
新闻的报错
2022-12-15 16:28:51 I/Reporter: 137 发起了新闻请求...
2022-12-15 16:28:51 V/Bot.257632608: Group(569082286) <- 稍等哦 QwQ
2022-12-15 16:28:52 E/Reporter: Exception in coroutine Plugin online.ruin_of_future.reporter of Reporter
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.image.BufferedImage.createGraphics(Unknown Source)
at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler.writeToImage(NewsCrawler.kt:56)
at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler.newsToday(NewsCrawler.kt:184)
at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.NewsCrawler$newsToday$1.invokeSuspend(NewsCrawler.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
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)
>
番剧的报错
137(1043098457) -> 今日番剧
2022-12-15 16:26:34 I/Reporter: 137 发起了动画请求...
2022-12-15 16:26:35 V/Bot.257632608: Group(569082286) <- 稍等哦 QwQ
2022-12-15 16:26:35 V/Bot.257632608: Group(569082286) <- 出错啦, 等会再试试吧  ̄へ ̄
2022-12-15 16:26:35 I/Reporter: 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.image.BufferedImage.createGraphics(Unknown Source)
at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.buildImageByteArray(AnimeCrawler.kt:190)
at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.animeByDate(AnimeCrawler.kt:235)
at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler.access$animeByDate(AnimeCrawler.kt:79)
at news-reporter-1.4.3.mirai.jar//online.ruin_of_future.reporter.crawler.AnimeCrawler$animeByDate$1.invokeSuspend(AnimeCrawler.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
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)