https://kotlinlang.org logo
Title
h

hantsy

04/21/2023, 3:00 AM
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
        )
l

LSD

04/21/2023, 5:08 AM
I had a similar problem, and when I downgraded to 2022, it went away.
h

hantsy

04/28/2023, 2:57 AM
It should be a bug of the Kotlin support in IntelliJ IDEA