Closed geziefer closed 3 months ago
@geziefer There is an update coming for that sample project to use EE11
features. The data-1.0
feature was updated in the latest beta to only work with EE11
features, which is why you are seeing that failure. Once the sample project is updated, you should no longer see the error you reported in this issue.
@geziefer See fixes provided in PR https://github.com/OpenLiberty/sample-jakarta-data/pull/85.
I'm going to close this now. If you still encounter a problem, please open an issue on the sample repo.
I played around with the OpenLiberty jakarta-data sample: https://github.com/OpenLiberty/sample-jakarta-data It works fine as it is checked-in there and even if I update openliberty-runtime to 24.0.0.7-beta. The sample uses openliberty-plugin version 3.10.3. But if I use the currently latest 24.0.0.8-beta, I get the following error messages when starting liberty:dev:
(Thanks to Cherryl, the messages are now in English 😉)
Additionally, when I executing "g" for automatic feature generation it results in an unknown feature:
[ERROR] Failed to generate a working set of features. Error scanning the application for Liberty features: java.lang.RuntimeException: CWMIG12125E: Das unbekannte Feature data-1.0 wurde gefunden..
(Strangly, some log messages persist in German even though having switched locale - the last sentence means "Unknown feature data-1.0 found.".I found an older, but similar problem here answered by Scott which had to do with the openliberty-plugin: https://stackoverflow.com/questions/72234497/getting-cwwkf0044e-incompatible-feature-error-using-open-liberty-with-maven-but
So has this also to do with the plugin or is somethin inconsistent in either the sample code's dependencies or OpenLiberty itself in that version?