After upgrading to jmix 1.22 I was not able to compile the project anymore.
Cause = “java.lang.ClassNotFoundException: io.jmix.gradle.ClassPathCommandLine”
My settings are:
IntelliJ IDEA 2022.1 (Community Edition)
Build #IC-221.5080.210, built on April 12, 2022
Runtime version: 11.0.14.1+1-b2043.25 amd64
Java
openjdk-17.0.2 (Oracle)
I struggled around with various settings with previous JMIX versions before I could reproduce the condition, which leads to the error described above. As soon as I added the Chart marketplace plugin, I am not able to compile anymore.
Unfortunately removing the Chart plugin from the marketplace does not solve the problem. I had to delete the project and create a new one over and over.
Can anybody give me a hint which combination of JMIX version and Java SDK is stable at the moment AND enables working with the Marketplace plugins?
Do you add Charts before upgrading to 1.2.2? Could you provide detailed steps to reproduce the issue? Do you have other installed add-ons (pivot, reports, etc)? Framework is tested on JDK 8, 11 and 17 so it should be ok.
I have tried it in a lot of combinations of JDKs and JMIX Versions. The problem as described startet after updating to the latest Intellj Version 2022.1 (Community Edition). The tries were always following the same path which started by creating a new JMIX project. It made no difference in which sequence I added Charts. Even adding it manually and deleting the grade cache did not made a change.
After adding the Chart plugin I receive an IDE internal error from which I uploaded the errorlog as txt-file.