Can't select main class when build artifact.
Answered
When I go to File -> Project Structure -> Build Artifacts -> + -> JAR -> when I want to select the main class it doesn't show up, it says can't find main class.
Please sign in to leave a comment.
Hello,
Have you tried to type class name in search field? Is it possible to provide sample project example for investigation? It works fine on my side.
Im running in the same issue and have no idea on how to solve it
Hi Nataliamaciel20006, thank you for your feedback.
I couldn't reproduce the issue on my side using the latest version of IntelliJ IDEA – 2026.1.3 (https://www.jetbrains.com/idea/download/).
Could you please provide additional data for investigation of this problem:
Thank you!