Error: Could not find or load main class stateandbehavior.Account Caused by: java.lang.ClassNotFoundException: stateandbehavior.Account code example
Example: > Task :run FAILED Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException:
Check your build.gradle file and update the application block:
application {
// Define the main class for the application.
// insert the entire name of the class
mainClassName = 'packageName.MainClass'
}