I was trying to use List and Set on my code using Intellij. But Intellij only suggest classes under maven libraries, not JDK.
I can only use Java Collections(List, Set) by manually typing imports on the top of the file. so inconvenient.. please help
I was trying to use List and Set on my code using Intellij. But Intellij only suggest classes under maven libraries, not JDK.
I can only use Java Collections(List, Set) by manually typing imports on the top of the file. so inconvenient.. please help
Verify that Project SDK is set:
File -> Project Structure...Project Settings -> ProjectProject SDK set up.Alternatively, try and create a simple Java Application and see if the problem persists. Then, try to re-import the maven project.
Hope this helps :)