compileWidgets failed for jmix 1.22 and Charts plugin

Thank you for the Studio stack trace! But I guess it is not related with the gradle plugin problem.

Unfortunately, I cannot reproduce the issue. It seems the problem exists only for Windows OS.

The compileWidget task has a property: shortClassPath. You can set it to false in order to disable using ClassPathCommandLine:

compileWidgets {
    shortClassPath = false
    ...
}

However it can lead to the error: “Error 206 path too long” (though I cannot reproduce it on Windows 10). You can avoid by the following ways:

  1. Move your project to the folder with short path from the disk root, e.g. C:\proj\.
  2. Move and rename Gradle user home directory to the shortest possible name