I've been using IntelliJ CE for a Spring Boot project. The Run/Debug has always been a little flaky, but I've usually been able to figure it out. But now, it's only giving the option to create a template. So I'm trying to create a template to run a Spring Boot application.
However, when I try to choose the main class, by navigating to it, the "OK" button is grayed out. The entries under "search by name" are items such as "Activation (sun.rmi.server)", and "Base64" (java.util.prefs)", which have nothing to do with my project.
It seems like this could be classloader issue, where IntelliJ is somehow using the wrong one, but I have no idea how to address it.
Any idea what I'm doing wrong?