I'm in the process of setting up an Illuminated Cloud project, and am having issues getting it to connect to my salesforce org. After the project is created and all the relevant classes, triggers, etc have been downloaded and indexed, there is an "invalid configuration for module" error in the event log. When I click "resolve", I get a popup that says "Setting the default module for connection '<connection name>' to '<connection name>'." When I click OK, I get another popup that says "The module's connection cannot be resolved. Please choose or a create a new connection." Clicking OK brings up the Modules and Connections dialog.
The strange thing is, I've already set up my connection and have it selected. If I open the "Manage Connections" dialog and test my connection, it is able to successfully connect and tells me that the "connection configuration is valid". The connection only fails when I try to use it with an actual project, and no matter how many times I click "resolve" on the error message, rebuild my cache/indices, or reload the project, it always fails with the same error message: "The module's connection cannot be resolved. Please choose or create a new connection".
Please let me know if you need any more information to help diagnose the problem.
Thanks,
Conor