grails command has error

235 views Asked by At

when I enter grails upgrade command, below error raised:

| Error Error occurred running Grails CLI: null (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)

java.lang.NullPointerException
at org.grails.cli.GrailsCli.initializeProfile(GrailsCli.groovy:516)
at org.grails.cli.GrailsCli.initializeApplication(GrailsCli.groovy:307)  
at org.grails.cli.GrailsCli.execute(GrailsCli.groovy:270)
at org.grails.cli.GrailsCli.main(GrailsCli.groovy:159)
| Error Error occurred running Grails CLI: null

what is the problem? what is the solution?

1

There are 1 answers

0
Majid Lotfinia On

My project was grails 1.3.9 and I installed grails 3.3.5

I install grails 1.3.9 in my system and it's be ok