简体   繁体   中英

Getting an error while starting Grails

I get the following error when I start Grails.

java.lang.NullPointerException
    at org.grails.cli.GrailsCli.initializeProfile(GrailsCli.groovy:504)
    at org.grails.cli.GrailsCli.initializeApplication(GrailsCli.groovy:308)
    at org.grails.cli.GrailsCli.execute(GrailsCli.groovy:271)
    at org.grails.cli.GrailsCli.main(GrailsCli.groovy:162)
| Error Error occurred running Grails CLI: null

My versions are follows | Grails Version: 3.1.1 | Groovy Version: 2.4.5 | JVM Version: 1.8.0_65

I had a halfbaked grails-app folder in my root folder and hence it was causing issues, once I deleted that, the error went away. I hope this helps people, who see the same issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM