Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACS-8460: Bump hxi-connector to 1.0.0-A13 #2896

Conversation

krdabrowski
Copy link
Contributor

No description provided.

Copy link
Contributor

@mpichura mpichura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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])

@krdabrowski
Copy link
Contributor Author

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])

Unfortunately 😭 I'm checking it right now 🤔

@dsibilio
Copy link
Contributor

dsibilio commented Aug 9, 2024

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.

@krdabrowski
Copy link
Contributor Author

@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

@krdabrowski krdabrowski changed the title ACS-8460: Bump hxi-connector to 1.0.0-A8 ACS-8460: Bump hxi-connector to 1.0.0-A11 Aug 28, 2024
@krdabrowski krdabrowski changed the title ACS-8460: Bump hxi-connector to 1.0.0-A11 ACS-8460: Bump hxi-connector to 1.0.0-A13 Aug 29, 2024
@krdabrowski krdabrowski merged commit e2fda5c into release/7.4.N Aug 30, 2024
64 checks passed
@krdabrowski krdabrowski deleted the feature/ACS-8460-Bump-hxi-connector-to-1.0.0-A8-in-7.4.N branch August 30, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants