org.jetbrains.annotations does not exist

Error:(114, 33) java: package org.jetbrains.annotations does not exist

I just updated to the JDK 1.8.0_20.  Ever since, IntelliJ cannot find
the annotations package.  Nothing I have tried makes it available.
What is the trick?
--
Roedy Green Canadian Mind Products http://mindprod.com
Errors using inadequate data are much less than those using no data at all.
~ Charles Babbage (born: 1791-12-26 died: 1871-10-18 at age: 79)

1 comment
Comment actions Permalink

On Tue, 19 Aug 2014 18:34:52 -0700, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :

>Error:(114, 33) java: package org.jetbrains.annotations does not exist
>
>I just updated to the JDK 1.8.0_20.  Ever since, IntelliJ cannot find
>the annotations package.  Nothing I have tried makes it available.
>What is the trick?

The trick is to edit the path of the JDK then put it back the way it
was.  That causes it to have fresh look at the ext directory. It does
not automatically include everything in the ext directory.
--
Roedy Green Canadian Mind Products http://mindprod.com
Errors using inadequate data are much less than those using no data at all.
~ Charles Babbage (born: 1791-12-26 died: 1871-10-18 at age: 79)

0

Please sign in to leave a comment.