I have exactly the same issue - except it's jdk 11 on arch-linux.

Best Adrian


On Tue, Jan 31, 2023 at 9:49 AM Karl Beckers <k...@jarre-de-the.net> wrote:

> Hi,
>
> so, this is on NB 16 with OpenJDK 17 in a Maven project.
>
> I'm trying to have a java module of my own with test classes in the same
> module/packages.
>
> Now, I have already added org.junit.jupiter.junit-jupiter-api to my
> dependencies.
> So, in my test class I expect to type in TestInfo and be able to hit
> ALT-ENTER and get a suggestion for the import, but all I get are
> suggestions to add classes or search for dependencies.
>
> So I remove the manually added dependency and let NB do the job ... still
> no cookie.
> Then I close NB and remove the entire cache directory, restart and it
> rebuild the cache ... no change.
>
> I can hit CMD-O and type in TestInfo and it actually _finds_ the right
> interface.
> When I manually type in the right import, everything compiles just fine.
>
>
>
> What's going on here?
>
> TIA,
>
> Karl.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Reply via email to