The 7.1.x --> 7.2.x upgrade seemed to have gone mostly ok, but as I’m playing with things, I’m getting hot deploy compilation errors:
Hot deploy compilation errors:
C:\Users\jon\.gradle\caches\modules-2\files-2.1\com.vaadin\vaadin-server\8.9.2-4-cuba\184351f3973ce28dd0ee3979a9f69603b8c9da0e\vaadin-server-8.9.2-4-cuba.jar(/com/vaadin/server/VaadinRequest.java):29: error: package javax.portlet does not exist
import javax.portlet.ClientDataRequest;
^
C:\Users\jon\.gradle\caches\modules-2\files-2.1\com.vaadin\vaadin-server\8.9.2-4-cuba\184351f3973ce28dd0ee3979a9f69603b8c9da0e\vaadin-server-8.9.2-4-cuba.jar(/com/vaadin/server/VaadinRequest.java):30: error: package javax.portlet does not exist
import javax.portlet.PortletRequest;
^
C:\Users\jon\.gradle\caches\modules-2\files-2.1\com.vaadin\vaadin-server\8.9.2-4-cuba\184351f3973ce28dd0ee3979a9f69603b8c9da0e\vaadin-server-8.9.2-4-cuba.jar(/com/vaadin/server/WrappedSession.java):22: error: package javax.portlet does not exist
import javax.portlet.PortletSession;
^
C:\Users\jon\.gradle\caches\modules-2\files-2.1\com.vaadin\vaadin-shared\8.9.2-4-cuba\7f7c9577a78d932328249e204b56da8ad68fce1a\vaadin-shared-8.9.2-4-cuba.jar(/elemental/json/impl/JreJsonBoolean.java):79: error: package com.google.gwt.core.shared does not exist
@com.google.gwt.core.shared.GwtIncompatible
^
Anyone else able to assist on this one? It’s definitely slowing development having to kill and restart the server every time; hot deploy is really nice!
Hi,
Thank you for provided information, it helped us to understand the cause of the problem.
However we won’t be able to provide a quick fix for this (not within few days).
We’ll create ticket in our bug tracker and try to do our best to provide a bug fix in one of next Studio releases.
You can try to change setting CUBA -> Settings -> Project Settings -> “hot deploy compiled classes”, turning it to off. But I am not sure it will help in your case.