Issue with 2020.3.15

Hi all,

I have definitely an issue when upgrading my version of studio.

I have 3 java available
image

Java 15.0.1 and openjdk 15.0.1 lead to an error “Could not initialize class org.codehaus.groovy.classgen.Verifier” so I can’t launch my app.

If i’m using java 11: it works BUT I’ve a lot of issues reporting in the IDE (see screenshot below).
image

I’ve made a lot of tests, uninstalling and re-installing the Studio… the behavior changes but I still get some errors.

Any idea on how this can be fixed? Should I downgrade the studio and stick to 2019.3-14.0 which was working well? Was there a migration procedure that I missed?

Thanks for your support.

O.

Hi,

  1. Java 15 is not supported by the CUBA:
    Setup - CUBA Platform. Developer’s Manual

Java 11 is recommended.

  1. The problems you see look like either not-set-up JDK, or corrupted caches, it happens sometimes in IntellijJ-based IDEs.
    Do the following:
  • Open File → Project Structure and ensure that project SDK is set to valid Java 8 or 11 installation.
  • Then re-run Gradle refresh: Gradle tool window → Reload all Gradle Projects.

If it doesn’t help, clear caches by invoking main menu File → Invalidate Caches / Restart…

yes, it solved the issue.
thanks for your help

O.