Skip to content

Fast-jar compiled Quarkus app won't start — no logs, no errors #47505

Answered by cescoffier
next-pausegarra asked this question in Q&A
Discussion options

You must be logged in to vote

It's a SnakeYaml issue:

RuntimeException: 'void org.yaml.snakeyaml.constructor.SafeConstructor.<init>(org.yaml.snakeyaml.LoaderOptions)'
java.lang.NoSuchMethodError: 'void org.yaml.snakeyaml.constructor.SafeConstructor.<init>(org.yaml.snakeyaml.LoaderOptions)'
        at io.smallrye.config.source.yaml.YamlConfigSource$StringConstructor.<init>(YamlConfigSource.java:188)
        at io.smallrye.config.source.yaml.YamlConfigSource.streamToMap(YamlConfigSource.java:70)

Basically, you have something in your dependency tree that conflicts with the SnakeYaml version Quarkus needs.

Looking at your dependency tree, I'm pretty sure it's:

[INFO] \- com.github.javafaker:javafaker:jar:1.0.2:compile
[I…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@next-pausegarra
Comment options

Comment options

You must be logged in to vote
4 replies
@next-pausegarra
Comment options

@cescoffier
Comment options

Answer selected by cescoffier
@next-pausegarra
Comment options

@cescoffier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants