未能启动quarkus:未能从类io.quarkus.deployment.logging.loggingresourceprocessor加载步骤

6mw9ycah  于 2021-07-03  发布在  Java
关注(0)|答案(1)|浏览(353)

我试着跑 compile quarkus:dev 用我自己的 cloud 配置文件,但刚刚发现此错误,无法转到下一步。我使用quarkus 1.9.2.final

2020-12-14 16:47:17,515 ERROR [io.qua.dep.dev.IsolatedDevModeMain] (main) Failed to start quarkus: java.lang.RuntimeException: java.lang.RuntimeException: Failed to load steps from class io.quarkus.deployment.logging.LoggingResourceProcessor
    at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:252)
    at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:134)
    at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:54)
    at io.quarkus.deployment.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:75)
    at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:360)
    at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:52)
    at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:129)
    at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:82)
    at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:144)
    at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:63)
Caused by: java.lang.RuntimeException: Failed to load steps from class io.quarkus.deployment.logging.LoggingResourceProcessor
    at io.quarkus.deployment.ExtensionLoader.loadStepsFrom(ExtensionLoader.java:214)
    at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:98)
    at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:250)
    ... 9 more
Caused by: java.lang.IllegalStateException: No root found for class io.quarkus.runtime.logging.LogBuildTimeConfig
    at io.quarkus.deployment.configuration.BuildTimeConfigurationReader$ReadResult.requireRootObjectForClass(BuildTimeConfigurationReader.java:754)
    at java.util.HashMap.computeIfAbsent(HashMap.java:1127)
    at io.quarkus.deployment.ExtensionLoader.loadStepsFrom(ExtensionLoader.java:739)
    at io.quarkus.deployment.ExtensionLoader.loadStepsFrom(ExtensionLoader.java:212)
    ... 11 more
ccgok5k5

ccgok5k51#

您确定所有版本都对齐了吗?因为它通常看起来像是版本对齐问题。
检查所有quarkus依赖项是否使用相同的版本,包括quarkus maven插件。

相关问题