Error: Main method not found in the file, please define the main method as: public static void main(String[] args)

I am getting this in test on debugging:

Error: Main method not found in the file, please define the main method as: public static void main(String[] args)

Hi @abhik
Looks like you are facing challenges in the current module.

Below is a link to all the FAQ’s for the current module

Below are a few similar topics raised by other users which you might find usefull

Note - This is a BETA Feature,if you find this helpful, kindly let us know.
Feedback link - https://forms.gle/cmxN5pdTXgnwgC986

Kindly mark this as a solution if this has helped you solve your query

Hi @abhik

Can you state the steps you took to start debugging.

So that we can reproduce the error or help you out with giving different set of steps to debug particular file.

Mention the file and function you like to debug.

I did all the steps which is mentioned in Module 1 Setup #2.

Closing the ticket as you’ve successfully moved on :clap:

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 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.