Unable to find a suitable main class, please add a 'mainClass' property

Rajesh Mani answered on July 13, 2022 Popularity 8/10 Helpfulness 1/10

Contents


More Related Answers

  • Could not find or load main class Main Caused by: java.lang.NoClassDefFoundError: com/company/Main (wrong name: Main)
  • Cannot find a class with the main method.
  • error: could not find or load main class main caused by: java.lang.classnotfoundexception: main
  • > Task :run FAILED Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException:
  • Could not find or load main class Example
  • could not load main class java
  • could not find or load main class
  • could not find or load main class org.apache.catalina.startup.bootstrap caused by: java.lang.classnotfoundexception: org.apache.catalina.startup.bootstrap
  • error: could not find or load main class sample.main
  • java error main class could not be found

  • Unable to find a suitable main class, please add a 'mainClass' property

    -1
    Popularity 8/10 Helpfulness 1/10 Language whatever
    Tags: add find whatever
    Link to this answer
    Share Copy Link
    Contributed on Jul 13 2022
    Rajesh Mani
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.