I am attempting to port an ancient version of Grails to the latest and greatest of everything.
However, when trying to run
gradlew bootRun
I get this error
Could not find or load main class
I am not sure why it is not finding my main class, it is sitting in the proper default package name (gsp in the case of this app):
package gsp
import grails.boot.GrailsApp
import grails.boot.config.GrailsAutoConfiguration
class Application extends GrailsAutoConfiguration {
static void main(String[] args) {
GrailsApp.run(Application, args)
}
}
located in 'grails-app/init/gsp/Application.groovy'.
Is there some reason Grails cannot find this class? Do I need to set some other config file to point to it?
Thank you
Jacek