Guys, help with such a question, can anyone come across.
I'm trying to run a web project in IDEA - any of the maven build steps gives an error " Error: Could not find or load main class = ". At the same time, the project is working and is launched through the console. That is, I write in the console
![Starting a maven project in IDEA - 1](https://cdn.javarush.com/images/article/1c1ab05d-4fde-468a-9d81-2cf0ade093a2/800.jpeg)
mvn clean install
, I have a war file being formed and I can run it through tomcat . I've googled so much and found nothing. Maybe you need some settings in IDEA? This is the first time I've come across this.
GO TO FULL VERSION