Error: package javax.portlet does not exist

Hi,
Just recently Hot Deploy has been failing with a bunch of errors

error: package javax.portlet does not exist
and
error: package com.google.gwt.core.shared does not exist

Seems to affect screen controllers. Service beans seem to hot deploy OK. I;'ve tried to clean everything up - deleted caches and re-installed latest Cuba Studio (13.1). I’m using licensed Cuba Studio 13.1 and platform 7.2.1.

My projects builds, deploys and runs cleanly - only hot deploy fails…

Actual output is:

Hot deploy compilation errors:
C:\Users\andre\.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\andre\.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\andre\.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\andre\.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
                             ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors

Hi! Could you enable CUBA Studio debug logs (CUBA -> Advanced -> Enable DEBUG Loggin Level) reproduce the problem and attach your idea.log here.

Hi,
Sorry for the delay - Covid-19 etc etc.
Any way I turned on logging as you instructed and hot deployed one UI class sucessfully (ZoneEdit.java) and then a failing one (NoPalletItemEdit.java) in case there is some comparison that may help.

Thank you.
Andrew.
idea.log (614.1 KB)

Thank you for reporting the problem. I have created a new issue in our bug tracker system.

Hi,
Thank you for your efforts so far. Glad to see that you have identified it as a valid problem and it’s not my set up. Like the other reported case this probably started after the 7.2 upgrade although I canno tbe 100% certain of that.
Andrew.