为什么我会收到这个错误信息:
当我使用推送注释时:
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) {...
}
}