Build Failed. Task :buildout:bootRun FAILED

@Sumanth_Uppala

  • What went wrong:

Execution failed for task ‘:buildout:bootRun’.
Main class name has not been configured and it could not be resolved

BUILD FAILED in 1s
3 actionable tasks: 1 executed, 2 up-to-date

  • Getting Same Error on Crio’s VM and also my laptop.

can you check if you have created the code at correct place?

Also does your main class have @SpringBootApplication annotation?

You are supposed to create main class in src/main folder.
Main folder has to be created by you.

Closing this topic as your issue has been resolved by the community. If not Kindly un-mark the accepted solution to re-open the topic or feel free to create a new topic and post a link to this topic as a reference.

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.

Closing this topic as your issue has been resolved by the community. If not Kindly un-mark the accepted solution to re-open the topic or feel free to create a new topic and post a link to this topic as a reference.