groovyzk/grailszk

schema-export commnad doesn't work

Opened this issue · 0 comments

./grailsw schema-export throws:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlMappingFilter'
.
.
.
Caused by: java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
	at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:85)
	at org.zkoss.zk.grails.web.ZULUrlMappingsFilter.initFilterBean(ZULUrlMappingsFilter.java:105)
	at org.springframework.web.filter.GenericFilterBean.afterPropertiesSet(GenericFilterBean.java:174)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800)
	... 21 common frames omitted