Fork me on GitHub
#cursive
<
2020-03-13
>
gibb14:03:44

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.

gibb14:03:16

The code completion looks like this:

imre15:03:40

@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

gibb15:03:11

JDK 11.0.4, IDEA 2019.3.3 cursive 1.9.1-eap9-2019.3

gibb15:03:35

I see I can update now, doing that

gibb15:03:12

Hm that did not make a difference.

gibb17:03:57

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

cfleming02:03:40

Which JDK were you on previously?

cfleming02:03:22

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

cfleming02:03:22

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.

gibb14:03:54

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