当我的Grails WAR被热部署到Tomcat和我刷新页面,我得到这个错误:“所说的‘刷新’”从Grails的战争所造成的错误热部署
1 Feb, 2010 7:00:51 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet view-servlet threw exception java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:15
此错误不会持续当Tomcat重新启动时。
无法帮助您处理servlet错误,但我可以告诉您,它与页面中的Javascript没有任何关系。 Java领域有些问题。 – 2010-02-01 15:07:39
在此之前应该有另一个堆栈跟踪 – Bozho 2011-08-21 15:22:04