【发布时间】:2021-11-15 10:30:37
【问题描述】:
我想使用quarkus-resteasy-reactive 来利用@ServerExceptionMapper 的新错误处理,但我也想使用quarkus-spring-data-rest 来使用@RepositoryRestResource 注释。
问题是quarkus-spring-data-rest自带包quarkus-resteasy,和quarkus-resteasy-reactive冲突,因为both have JaxRsSecurityConfig.denyJaxRs,导致如下错误:
Multiple matching properties for name "security.jaxrs.deny-unannotated-endpoints" property was
matched by both public boolean io.quarkus.resteasy.runtime.JaxRsSecurityConfig.denyJaxRs and
public boolean io.quarkus.resteasy.reactive.common.runtime.JaxRsSecurityConfig.denyJaxRs. This is
likely because you have an incompatible combination of extensions that both define the same
properties (e.g. including both reactive and blocking database extensions)
有人可以同时使用这两个库吗?
【问题讨论】:
标签: resteasy spring-data-rest quarkus