Closed krdabrowski closed 2 months ago
Something went wrong?
Caused by: java.lang.UnsupportedClassVersionError: org/alfresco/hxi_connector/hxi_extension/rest/api/NodeEntityResource has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 (unable to load class [org.alfresco.hxi_connector.hxi_extension.rest.api.NodeEntityResource])
After a very quick look.
Shouldn't the alfresco.platform.java-version
be 11
here: https://github.com/Alfresco/hxinsight-connector/blob/624731f51e4c907d5db262b04d0192c52d00619b/pom.xml#L55?
Also the hxinsight-extension
should have 2 different source and target levels IMO, runtime should be Java 17 but compilation should be Java 11, whereas both are set to 17 at the moment see: https://github.com/Alfresco/hxinsight-connector/blob/master/hxinsight-extension/pom.xml#L17-L18.
@dsibilio I think both (compilation and runtime) should be 11, to give the customer the ability to run application using Java 11. Issue finally was solved within: https://github.com/Alfresco/hxinsight-connector/pull/576/files
Unfortunately 😠I'm checking it right now 🤔