异常
“”org.springframework.dao. DataBase ResourceFailureException:获取R2 DBC Connection失败;嵌套的异常为java.lang。IllegalStateException:此发布者不支持多个订阅者。at org.springframework.r2dbc.connection.ConnectionFactoryUtils.java:88)~[spring-r2 dbc-5.3.9.jar:5.3.9] at reactor.core.Monosher.Monohyda$onError$31(Mono.java:3676)~[reactor-core-3.4.8.jar:3.4.8]“”
<properties>
<java.version>11</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-r2dbc</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.database.r2dbc</groupId>
<artifactId>oracle-r2dbc</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
字符串
1条答案
按热度按时间ar5n3qh51#
似乎是Oracle R2DBC中的bug,这阻止了它与连接池一起工作。