Multiple producers of item class io.quarkus.security.spi.DefaultSecurityCheckBuildItem error after upgrading to Quarkus 3.9.1 #39745
Replies: 4 comments 5 replies
-
@michalvavrik It is probably related to #38622 |
Beta Was this translation helpful? Give feedback.
-
@sberyozkin #38622 is fine. Look at the stacktrace it has both RESTEasy Classic |
Beta Was this translation helpful? Give feedback.
-
@michalvavrik Right, the combination works in 3.8, maybe Dev mode is using the reactive one for its own endpoints ? |
Beta Was this translation helpful? Give feedback.
-
@serhiynovos I suspect you are mixing RESTEasy Classic and Quarkus REST. My guess it that you didn't rename Make sure you either use:
or
(Make sure the various subartifacts such as |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I just updated my project to 3.9.1 and started seeing this crash, after reverted back to 3.8.3 it's working fine
2024-03-27 17:10:04,772 ERROR [io.qua.dep.dev.IsolatedDevModeMain] (main) Failed to start quarkus: java.lang.RuntimeException: io.quarkus.builder.ChainBuildException: Multiple producers of item class io.quarkus.security.spi.DefaultSecurityCheckBuildItem (io.quarkus.resteasy.reactive.common.deployment.ResteasyReactiveCommonProcessor#setUpDenyAllJaxRs)
at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:334)
at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:251)
at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:60)
at io.quarkus.deployment.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:112)
at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:433)
at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:55)
at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:138)
at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:93)
at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:131)
at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:62)
Caused by: io.quarkus.builder.ChainBuildException: Multiple producers of item class io.quarkus.security.spi.DefaultSecurityCheckBuildItem (io.quarkus.resteasy.reactive.common.deployment.ResteasyReactiveCommonProcessor#setUpDenyAllJaxRs)
Caused by: java.lang.Throwable: This is the location of the conflicting producer (io.quarkus.resteasy.deployment.ResteasyBuiltinsProcessor#setUpDenyAllJaxRs). Use -Dquarkus.builder.log-conflict-cause=true to see the full stacktrace.
Beta Was this translation helpful? Give feedback.
All reactions