Quarkus 1.12.2.Quarkus
在使用反应性MySQL客户端(夸克-反应性-mysql)使用反应性hibernate (夸克-hibernate- reactive )时获得以下异常时,善意地提出了可能的问题。
2021-04-01 11:35:28,694 ERROR [org.hib.eng.jdb.spi.SqlExceptionHelper] (Quarkus Main Thread) Not using JDBC
2021-04-01 11:35:28,727 ERROR [io.qua.run.Application] (Quarkus Main Thread) Fa
当我尝试在& RESTEasy中使用Quarkus扩展时,我遇到了一个问题。启动应用程序时,会出现以下错误:
[io.qu.ru.Application] (Quarkus Main Thread) Failed to start application (with profile dev): java.lang.IllegalStateException: Booting an Hibernate Reactive serviceregistry on a non-reactive RecordedState!
at io.quarkus.hibernate.reactive
我想使用quarkus-resteasy-reactive来利用@ServerExceptionMapper的新错误处理,但我也希望使用quarkus-spring-data-rest来使用@RepositoryRestResource注释。
问题是quarkus-spring-data-rest附带了quarkus-resteasy包,这与quarkus-resteasy-reactive冲突,因为它们是,从而导致以下错误:
Multiple matching properties for name "security.jaxrs.deny-unannotated-endpoints
背景
我们正在实施一种服务之间通信的签名请求机制。该过程的一部分生成请求主体内容的摘要。为了验证接收到的主体,我们在接收端重新生成摘要并进行比较。这是非常直接的东西。
@PreMatching
@Priority(Priorities.ENTITY_CODER)
public class DigestValidationFilter implements ContainerRequestFilter {
private final DigestGenerator generator;
@Inject
public DigestValidationFilter(Digest
我有一个Quarkus Kafka消费者。在VM模式下,它工作得很好。 在我使用./mvnw包-Pnative构建本机运行器之后 当我在本机模式下运行它时,我有这样的异常: 2019-05-23 17:17:42,340 ERROR [io.sma.rea.mes.imp.LegacyConfiguredStreamFactory] (main) Unable to create the publisher or subscriber during initialization: java.lang.IllegalArgumentException: java.lang.reflect.In
我正在我的夸克应用程序中创建一个GRPC服务,当我试图对我的方法提出请求时,我会得到以下错误:
UNKNOWN: io.quarkus.runtime.BlockingOperationNotAllowedException - You have attempted to perform a blocking operation on a IO thread. This is not allowed, as blocking the IO thread will cause major performance issues with your application. If you want
在春季网络流量中,我尝试将WebClient与oauth2结合使用。我从url访问令牌中获取一个令牌,并将其设置到webclient中。但是,我不喜欢在其他安全端点的每个调用中获取此访问令牌。这意味着我只想在webclient实例化期间和访问令牌过期时第一次获取它。
下面是我使用的代码:
@Configuration
public class OauthEmployeConfig{
/**
** ... String baseUrl, String accessUrl for the access token url
**/
@Bean
public
我想对一个包含由Flyway创建的数据库的新postresql容器运行集成测试。
build.gradle.kts
dependencies {
implementation("io.quarkus:quarkus-reactive-pg-client")
// flyway does not work with the reactive driver right now, a workaround with a classic driver
implementation("io.quarkus:quarkus-jdbc-postgresql")
我的骆驼路由应用程序检测到其他应用程序发布的ampq消息(发布号码),但无法处理,“没有类型转换器可用”错误。我如何解决?.
"org.apache.camel.NoTypeConversionAvailableException: No type converter available to convert from type: java.lang.Integer to the required type: java.io.InputStream with value 79"
路由构建器类
package aaa.bbb.ccc.qscx;
import java.io.I