HI, I encountered a wired issue in IDEA 2023 CE when upgraded to the latest Kotlin 1.8.20.
In IDEA,
DataBufferUtils.read
returns a
Flux
instead of
Flux<DataBuffer>
, when I moved cursor to the read method, from the java doc popup panen,
can not access 'reactor.core.publisher.Flux' , check your module classpath for missing or conflict dependencies
. I have built the project manually by
gradlew build
, and open the jar file and explore all dependencies in the libs folder, there is no conflict and reactor related the jars are existed in the libs.
The
read
is always resolved as an error in IDEA.
val fluxData = DataBufferUtils.read(
ByteArrayResource(content.toByteArray()),
DefaultDataBufferFactory(),
1024
)