This happened when I had a chance to update the image for a while in a Grails project and decided to recreate the package.
$ grailsw package load application.groovy [development] | Error Error occurred running Grails CLI: No profile found for name [web]. (Use --stacktrace to see the full trace)
I deleted the build / folder and tried it again. According to the following, it seems that you can delete build / .dependencies.