Closed velo6raptor closed 9 years ago
Could I have an answer please ?
Hello,
Just add :
void generateRestfulTest(GrailsDomainClass domainClass, String destDir) throws IOException {
//do nothing
}
void generateRestfulController(GrailsDomainClass domainClass, String destDir) throws IOException {
//do nothing
}
at the end of "ZkGrailsTemplateGenerator.groovy"
you should be correct...
It works ! Fine, thank you !
Hi,
When in install ZKUI 0.5.7 with grails 2.3.11, i fall on this error message
Compilation error: startup failed: C:\GRAILS-2.3.11\apps\contact\target\work\plugins\zkui-0.5.7\src\groovy\org\grails\plugins\zkui\scaffolding\ZkGrailsTemplateGenerator.groovy: 21: Can't have an abstract method in a non-abstract class. The class 'org.grails.plugins.zkui.scaffolding.ZkGrailsTemplateGenerator' must be declared abstract or the method 'void generateRestfulTest(org.codehaus.groovy.grails.commons.GrailsDomainClass, java.lang.String)' must be implemented. @ line 21, column 1. class ZkGrailsTemplateGenerator implements GrailsTemplateGenerator, ResourceLoaderAware, PluginManagerAware { ^ C:\GRAILS-2.3.11\apps\contact\target\work\plugins\zkui-0.5.7\src\groovy\org\grails\plugins\zkui\scaffolding\ZkGrailsTemplateGenerator.groovy: 21: Can't have an abstract method in a non-abstract class. The class 'org.grails.plugins.zkui.scaffolding.ZkGrailsTemplateGenerator' must be declared abstract or the method 'void generateRestfulController(org.codehaus.groovy.grails.commons.GrailsDomainClass, java.lang.String)' must be implemented. @ line 21, column 1. class ZkGrailsTemplateGenerator implements GrailsTemplateGenerator, ResourceLoaderAware, PluginManagerAware { ^ 2 errors
You said on this issue that this bug is fixed on 0.5.7 https://github.com/xiaochong/zkui/issues/126
Is it the version of grails ? what last version is OK ? 2.3.2 ? 2.3.4 ? 2.3.5 .... Thanks in advance