groovy.lang.MissingPropertyException:沒有這樣的屬性:withSql類:org.codehaus.griffon.runtime.builder.UberBuilder 在addressbook.AddressbookView $ _run_closure1_closure2_closure7_closure8.doCall(AddressbookView.groovy:14) 在addressbook.AddressbookView $ _run_closure1_closure2_closure7 .doCall(AddressbookView.groovy:13) 在addressbook.AddressbookView $ _run_closure1_closure2_closure7.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 $此$ 3 $調用FactoryMethod.callCurrent(來源不明) 在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) at org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass $ this $ 3 $ invokeFactoryMethod.callCurrent(Unknown Source) at org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeMe (地址簿視圖.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 $此$ 3 $ 在invokeFactoryMethod.callCurrent(Unknown Source) at org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeMethod(UberInterceptorMetaClass.groovy:167) at addressbook.AddressbookView.run(AddressbookView.groovy:10) 在org.codehaus.griffon.runtime.builder.UberInterceptorMetaClass.invokeMethod(UberInterceptorMetaClass.groovy:151) 在org.codehaus.griffon.runtime.builder.UberBuilder.build(UberBuilder.groovy:155) 在org.codehaus。 griffon.runtime.core.AbstractMVCGroup $ 1.run(AbstractMVCGroup.java:129)的IntelliJ + griffon.0.9.5沒有這樣的屬性:withSql?
1
A
回答
0
GSQL/Datasource插件默認不會將withSql
方法注入到Views中,您必須更改配置(在插件頁面中說明)。不過我強烈建議作爲意見的UI線程內不建在一個視圖注入這樣的方法,使數據庫調用內部的主題確實是一個壞主意。
相關問題
- 1. intellij 9 + griffon 0.9.5 dsl腳本執行錯誤?
- 2. 沒有這樣的屬性:類的nexusUsername:org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
- 3. GRAILS:groovy.lang.MissingPropertyException:沒有這樣的屬性。
- 4. 沒有這樣的屬性:useAnt類:org.gradle.api.tasks.scala.ScalaCompileOptions
- 5. 沒有這樣的屬性:sonatypeUserName類:org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
- 6. 沒有這樣的屬性:pom for class:Script1
- 7. Spring UI RegisterController - 沒有這樣的屬性
- 8. 沒有這樣的屬性:COMPILE_ONLY_CONFIGURATION_NAME類:org.gradle.api.plugins.JavaPlugin
- 9. scons喊「沒有這樣的屬性庫」!
- 10. 沒有這樣的屬性:屬性ID類:grails.converters.JSON
- 11. 當在IntelliJ IDEA Ultimate中刷新項目時,「沒有這樣的屬性」
- 12. 原因一個DOMElement ::的getAttribute()時,有沒有這樣的屬性,
- 13. GeoDjango和混合器。 'PointField' 有這樣的沒有屬性 '_meta'
- 14. 錯誤:沒有這樣的屬性:VERSION_NAME MaterialTabs類的類:org.gradle.api.publication.maven.internal.deployer.DefaultGroovyMavenDeployer
- 15. groovy.lang.missingpropertyexception沒有這樣的屬性:常規utils的用於
- 16. Grails的消息:沒有這樣的屬性:類:解決方案:
- 17. Grails錯誤:沒有這樣的屬性:它的類:
- 18. MissingPropertyException:沒有這樣的屬性:類的文件名:groovy.lang.Binding
- 19. Groovy:沒有這樣的屬性:類的數據:groovyx.net.http.HTTPBuilder $ RequestConfigDelegate
- 20. 沒有這樣的屬性:在grails中安裝jasypt時的GormEncryptedStringType
- 21. groovy.lang.MissingPropertyException:沒有這樣的屬性:類的getTestCaseByName:
- 22. Android方面沒有這樣的屬性:類的項目:com.android.build.gradle.LibraryPlugin
- 23. groovy.lang.MissingPropertyException:沒有這樣的屬性:類的經理:Script1
- 24. 沒有這樣的屬性:類的類bootClasspath:com.android.builder.core.AndroidBuilder
- 25. Intellij不識別Griffon變量?
- 26. 沒有這樣的屬性:appCtx類:groovy.lang.Binding - 黃瓜,Grails
- 27. 發送郵件沒有這樣的屬性相剋
- 28. log4j:WARN org.apache.log4j.DailyRollingFileAppender中沒有這樣的屬性[maxFileSize]
- 29. Groovy腳本錯誤沒有這樣的屬性:客戶ID爲
- 30. org.codehaus.groovy.runtime.metaclass.MissingPropertyExceptionNoStack:沒有這樣的屬性:resourceResolver類:griffon.swing.SwingApplet
http://www.coderanch.com/t/596099/GUI/java/griffon-intellij-glazedlists-error – user1761650