HI, I encountered a wired issue in IDEA 2023 CE wh...
# intellij
h
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.
Copy code
val fluxData = DataBufferUtils.read(
            ByteArrayResource(content.toByteArray()),
            DefaultDataBufferFactory(),
            1024
        )
l
I had a similar problem, and when I downgraded to 2022, it went away.
h
It should be a bug of the Kotlin support in IntelliJ IDEA
Oh, it seems all reactive streams APIs are problematic(not recognized) when upgrade to IDEA 2023.1.3
1
youtrack 1
s
Faced the same issue: IntelliJ IDEA 2023.1.3 (Community Edition) Fix I did was upgrading the kotlin plugin Kotlin: 231-1.9.0-RC-release-336-IJ8770.65
h
Thanks, updated and clear cache to resovle the issue.
thank you color 1
a