3
为什么我收到此错误:当我使用推注释Vaadin 7:java.lang.IllegalStateException:推不可
javax.servlet.ServletException: com.vaadin.server.ServiceException: java.lang.IllegalStateException: Push is not available. See previous log messages for more information.
com.vaadin.server.VaadinServlet.service(VaadinServlet.java:240)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
:
@Push(PushMode.MANUAL)
public class KopivaadincomponentsUI extends UI {
@Override
protected void init(VaadinRequest request) {...
}
}
你使用Vaadin 7.1吗?类似的问题:https://vaadin.com/forum#!/thread/3339684。 “不幸的是,Vaadin 7.1不支持使用portlet进行推送,除非修补程序目前使用补丁。” – Mik378
是的,它是vaadin1.7.8 – AmiraGL
那么,这是否回答你? – Mik378