If got an problem with the addon, that occurs when I develop in Eclipse and save code changes. These changes trigger an redeploy of the servlet which results in the following exception:
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171)
org.springframework.context.support.AbstractApplicationContext.isPrototype(AbstractApplicationContext.java:1141)
ru.xpoft.vaadin.SpringUIProvider.isSessionScopedUI(SpringUIProvider.java:69)
ru.xpoft.vaadin.SpringUIProvider.getUIClass(SpringUIProvider.java:36)
com.vaadin.server.BootstrapHandler.synchronizedHandleRequest(BootstrapHandler.java:171)
com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37)
com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1371)
com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
My setup is as follows:
Vaadin 7.1.7
Tomcat 7 (integrated in Eclipse, no remote deployment)
Spring-vaadin Version 2.0.1
No JRebel
Eclipse Keplar for Java EE Developers
The web.xml is the same of the example just with other names to reference my project.
The strange thing is, that when I save the changes and reload the page immidiately (without waiting till the whole reload process is finished), I can see my changes and after the reload is complete, I always get the Exception above.
If got an problem with the addon, that occurs when I develop in Eclipse and save code changes. These changes trigger an redeploy of the servlet which results in the following exception:
My setup is as follows:
Vaadin 7.1.7
Tomcat 7 (integrated in Eclipse, no remote deployment)
Spring-vaadin Version 2.0.1
No JRebel
Eclipse Keplar for Java EE Developers
The web.xml is the same of the example just with other names to reference my project.
The strange thing is, that when I save the changes and reload the page immidiately (without waiting till the whole reload process is finished), I can see my changes and after the reload is complete, I always get the Exception above.