I get this error :Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default-cli) on project TestNGE | Selenium Forum
S
sunilraju25 Posted on 03/03/2022

Error : Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default-cli) on project TestNGExamplesMaven: The parameters 'mainClass' for goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java are missing or invalid -> [Help 1]

I have imported the project : TestNGExamplesMaven and tried to Run as 'maven build' and then getting this error.

same error encountedred for my practice project aswel.

attached snapshot for reference.

Could you help!!

Thanks