Home > Net >  Can't import class from jar file in IntelliJ
Can't import class from jar file in IntelliJ

Time:05-10

So I am trying to import this class from my jar file. IntelliJ recognizes access to all the folder structures but not the class. enter image description here Says: "Cannot resolve symbol 'Constants'.

Note that I have tried clicking "Add library 'premiumdue.main.jar' to classpath" and it still doesn't work.

I have no idea why it won't let me import the class.

Here is a minimal intellij project showing my issue: proof

  • Related