IDE does not recognize local jar file

I uploaded a jar file for use in my Kotlin replit project. I add the jar to the classpath and it runs fine. The problem is that the IDE underlines any identifier from the uploaded jar in red. I didn’t have this issue before the migration to .nix.

Issue resolved. The unrecognized references were being caused by pkg.kotlin-language-server. After the dependency was removed from replit.nix, the problem disappeared.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.