cursive 2020-03-13

Am I missing something here, why doesn't IDEA / Cursive recognise this import? A possible confounding factor is that commons-codec:1.12 is on the class path which also has a Base64 class in it.

The code completion looks like this:

@gbson what version are you on? There was a similar problem a few weeks ago in one of the eaps wrt recognising java common namespaces

JDK 11.0.4, IDEA 2019.3.3 cursive 1.9.1-eap9-2019.3

I see I can update now, doing that

Hm that did not make a difference.

I poked at it some more and switching the JDK to 1.8 solves the problem:

I had a broken JDK path, not related to Cursive at all. Sorry!

Which JDK were you on previously?

Oh sorry, I just saw the details in your previous comment.

I can’t reproduce that, I’m using 11.0.4 and that works fine for me. If you switch back and you get the problem again, try File | Invalidate Caches and Restart and see if that helps.