Skip to content
Advertisement

Intellij highlighting not existing errors, thinking that LWJGL is not imported

I imported LWJGL to the libs folder inside the project. The application works fine, but Intellij is highlighting almost every line, thinking that lwjgl is not imported.
enter image description here

Is there any simple solution? I want to avoid importing the library another way.

Advertisement

Answer

Try invalidating caches via File → Invalidate caches/restart in the top menu.

5 People found this is helpful
Advertisement