首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >intellij+griffon.0.9.5没有这样的属性: withSql?

intellij+griffon.0.9.5没有这样的属性: withSql?
EN

Stack Overflow用户
提问于 2012-10-24 17:01:53
回答 1查看 78关注 0票数 1

类: org.codehaus.griffon.runtime.builder.UberBuilder at addressbook.AddressbookView$_run_closure1_closure2_closure7_closure8.doCall(AddressbookView.groovy:14) at addressbook.AddressbookView$_run_closure1_closure2_closure7.doCall(AddressbookView.groovy:13) at addressbook.AddressbookView$_run_closure1_closure2_closure7.doCall(AddressbookView.groovy) at org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeFactoryMethod(UberInterceptorMetaClass.groovy:96) at groovy.lang.MissingPropertyException:没有这样的属性: withSqlorg.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.this$3$invokeFactoryMethod(UberInterceptorMetaClass.groovy)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass$this$3$invokeFactoryMethod.callCurrent(Unknown源代码)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeMethod(UberInterceptorMetaClass.groovy:140)在addressbook.AddressbookView$_run_closure1_closure2.doCall(AddressbookView.groovy:12)在addressbook.AddressbookView$_run_closure1_closure2.doCall(AddressbookView.groovy)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeFactoryMethod(UberInterceptorMetaClass.groovy:96)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.this$3$invokeFactoryMethod(UberInterceptorMetaClass.groovy)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass$this$3$invokeFactoryMethod.callCurrent(Unknown源代码)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeMethod(UberInterceptorMetaClass.groovy:140)在addressbook.AddressbookView$_run_closure1.doCall(AddressbookView.groovy:11)在addressbook.AddressbookView$_run_closure1.doCall(AddressbookView.groovy)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeFactoryMethod(在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.this$3$invokeFactoryMethod(UberInterceptorMetaClass.groovy)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass$this$3$invokeFactoryMethod.callCurrent(Unknown源)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeMethod(UberInterceptorMetaClass.groovy:167)在addressbook.AddressbookView.run(AddressbookView.groovy:10)在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeMethod(UberInterceptorMetaClass.groovy:151)在org.codehaus.griffon.runtime。org.codehaus.griffon.runtime.core.AbstractMVCGroup$1.run(AbstractMVCGroup.java:129)上的builder.UberBuilder.build(UberBuilder.groovy:155)

EN

回答 1

Stack Overflow用户

发布于 2012-10-25 13:55:09

默认情况下,GSQL/Datasource插件不会将withSql方法注入视图,您必须更改配置(在插件页面中解释)。然而,我强烈建议不要在视图中注入这样的方法,因为视图是在UI线程中构建的,在这个线程中进行数据库调用真的不是一个好主意。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/13045960

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档