The answer reproduced from: http://stackoverflow.com/questions/24577480/org-codehaus-groovy-grails-cli-support-grailsstarter-not-found-error
Recently upgraded the Ubuntu, but then when run grails projects: “Could not find or load a main class org. Codehaus. Groovy. Grails. Cli. Support. GrailsStarter” error, Google for a long time found was solved by a strange answer:
Just go to the Grails /bin directory and run the Grails commands from the command line. I don’t know why.
Read More:
- Problems encountered after Maven installation or upgrade: could not find or load main class org.codehaus.plexus .class…..
- When OFBiz project starts, caused by: org.codehaus.groovy . control.MultipleCompilationErrorsException : startup failed:
- Java error: unable to find or load the main class
- Idea error: unable to find or load the main class
- Tomcat9 Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
- Error: Could not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool
- [Solved] IntelliJ IDEA Compile Groovy Error: GroovyRuntimeException: This script or class could not be run.
- Could not find or load main class
- Error: Could not find or load main class ***
- Error: could not find or load main class
- The Java command could not find or load the main class
- NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
- How to Solve Error: Failed to execute goal org.codehaus.mojo:……..
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0
- org.apache.jasper . jasperexception: unable to compile class for jsp: error resolution
- Python error: importerror: DLL load failed: unable to find the specified module solution
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project Hello
- python: This application failed to stat could not find or load the Qt platform plugin “windows”
- Unable to find utility “instruments”, not a developer tool or in PATH
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”