JavaRush /Java Blog /Random EN /Launching a maven project in IDEA
Eva_Sky
Level 30
Минск

Launching a maven project in IDEA

Published in the Random EN group
Guys, help me with this question, maybe someone has encountered it. Launching a maven project in IDEA - 1I'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.
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION