gpt4 book ai didi

grails - Grails-运行应用程序错误

转载 作者:行者123 更新时间:2023-12-02 14:42:18 26 4
gpt4 key购买 nike

我已经在CentOS上安装了Grails。我创建了有效的应用程序。

但是,当我运行run-app时,出现以下错误。我尚未进行任何更改,只是创建了应用程序。

grails run-app -Dserver.port=8090

Error Error packaging application: Error loading Config.groovy: No signature of method: groovy.util.ConfigObject.ju() is applicable for argument types: (java.lang.Boolean) values: [true]
Possible solutions: is(java.lang.Object), any(), dump(), get(java.lang.Object), put(java.lang.Object, java.lang.Object), max(groovy.lang.Closure) (Use --stacktrace to see the full trace)

Running with stacktrace gives

at _GrailsPackage$_run_closure2.doCall(_GrailsPackage.groovy:48)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
at org.codehaus.gant.GantMetaClass.processClosure(GantMetaClass.java:81)
at org.codehaus.gant.GantMetaClass.processArgument(GantMetaClass.java:95)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:128)
at RunApp$_run_closure1.doCall(RunApp.groovy:28)

最佳答案

我的错误-在编辑Config.groovy以更改端口时,我不小心更改了线路

通过在“jul”中放置一个空格,grails.logging.jul.usebridge = true。

非常感谢cfrick

关于grails - Grails-运行应用程序错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28439405/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com