Grails 3.2.0 Bootstrap.groovy脚本不执行 [英] Grails 3.2.0 Bootstrap.groovy script doesn't execute

查看:68
本文介绍了Grails 3.2.0 Bootstrap.groovy脚本不执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将我的项目从Grails 3.1.11更新到3.2.0后,该项目已停止工作.

After i updated my project from Grails 3.1.11 to 3.2.0 the project has stopped working.

当我从IDE启动proj时,它工作正常.但是,当我将其打包到jar中并尝试在终端中运行时,BootStrap.groovy无法执行.

When i start proj from IDE, it works fine. But when i pack it to jar and try to run in terminal, BootStrap.groovy does not execute.

出什么问题了?

推荐答案

我刚刚找到了在GitHub上发布. 现在,BootStrap.groovy和UrlMappings.groovy应该位于默认软件包中

默认软件包在application.yml

grails:
    codegen:
        defaultPackage: com.example.app

迁移文档尚无关于此问题的信息.

Migration docs has no information about this issue yet..

这篇关于Grails 3.2.0 Bootstrap.groovy脚本不执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆