Guys, help me with this question, maybe someone has encountered it. I'm trying to run a web project in IDEA - any of the stages of the maven build gives the error " Error: Could not find or load main class = ". In this case, the project is working and launched through the console. That is, I write in the console
mvn clean install
, a war file is generated and I can launch it through tomcat . I've already Googled so much and haven't found anything. Maybe some settings are needed in IDEA? This is the first time I've encountered this at all.