简体   繁体   English

使用 Open Liberty 和 Maven 时出现 CWWKF0044E 不兼容的功能错误,但我没有配置不兼容的功能

[英]Getting CWWKF0044E incompatible feature error using Open Liberty with Maven, but I didn't configure incompatible features

When using Open Liberty version 22.0.0.5 and liberty-maven-plugin version 3.3 with a server config (server.xml) configuring just a single feature:当使用 Open Liberty 版本 22.0.0.5 和 liberty-maven-plugin 版本 3.3 以及仅配置一个功能的服务器配置 (server.xml) 时:

    <featureManager>
        <feature>batch-2.0</feature>
    </featureManager>

and running "dev mode" (via mvn liberty:dev ), I get this error as dev mode starts the server:并运行“开发模式”(通过mvn liberty:dev ),当开发模式启动服务器时出现此错误:

[INFO] [ERROR ] CWWKF0044E: The io.openliberty.connectionManager1.0.internal.ee-6.0 and batch-2.0 features cannot be loaded at the same time. [INFO] [ERROR ] CWWKF0044E: 无法同时装入 io.openliberty.connectionManager1.0.internal.ee-6.0 和 batch-2.0 功能部件。 The io.openliberty.connectionManager1.0.internal.ee-6.0 feature of Java EE 6 is incompatible with the batch-2.0 feature of Jakarta EE 9. The batch-2.0 and batch-2.0 configured features include an incompatible combination of features. Java EE 6 的 io.openliberty.connectionManager1.0.internal.ee-6.0 功能与 Jakarta EE 9 的 batch-2.0 功能不兼容。batch-2.0 和 batch-2.0 配置的功能包括不兼容的功能组合。 Your configuration is not supported.不支持您的配置。 Update the configuration to use features that support either the Java EE or Jakarta EE programming models, but not both.更新配置以使用支持 Java EE 或 Jakarta EE 编程模型但不能同时支持两者的特性。

[INFO] [WARNING ] CWWKF0046W: The configuration includes an incompatible combination of features. [INFO] [WARNING ] CWWKF0046W: 配置包含不兼容的功能组合。 As a result, the feature manager did not install any features.结果,功能管理器没有安装任何功能。

SOLUTION解决方案

This is a bug.这是一个错误。 To resolve, update liberty-maven-plugin to the latest version (or at least to version 3.4, where this was fixed ).要解决此问题,请将 liberty-maven-plugin 更新至最新版本(或至少更新至 3.4 版,已修复此问题)。

The bug is described here from the runtime angle, as it was an issue with the way the liberty-maven-plugin queries the Open Liberty runtime for feature versions.此处从运行时角度描述了该错误,因为它是 liberty-maven-plugin 查询 Open Liberty 运行时以获取功能版本的方式的问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 CWWKF1219E:无法访问IBM WebSphere Liberty存储库 - CWWKF1219E: The IBM WebSphere Liberty Repository cannot be reached 如何在 Open Liberty 服务器开发模式下调试我的测试(使用 liberty-maven-plugin)并打开/关闭调试器? - How can I debug my tests in Open Liberty server dev mode (using liberty-maven-plugin) and toggle the debugger on/off? 如何指定自定义自由功能的依赖功能 - How to specify dependent features of custom liberty feature 如何使用 liberty-maven-plugin“运行”目标以调试模式启动 Open Liberty 服务器? - How can I start an Open Liberty server in debug mode with the liberty-maven-plugin “run” goal? WLP上的Spring Boot部署(WebSphere Liberty)会引发CWWKC0044W错误 - Spring Boot deployment on WLP (WebSphere Liberty) throws CWWKC0044W error 使用 openidConnectClient 功能的 WAS Liberty 中的 cookie 头错误无效 - Invalid cookie header error in WAS Liberty using openidConnectClient feature 在server.xml中包括adminCenter-1.0和batchManagement-1.0功能,从而在Liberty 8.5.5.8中提供功能冲突错误 - Including both adminCenter-1.0 and batchManagement-1.0 features in server.xml giving feature conflict error in Liberty 8.5.5.8 如何从 WebSphere Liberty / Open Liberty Maven WAR 项目构建可运行的 JAR? - How do I build a runnable JAR from a WebSphere Liberty / Open Liberty Maven WAR project? 如何将专有 Apache CXF 功能添加到 Open Liberty - How to add proprietary Apache CXF features to Open Liberty 使用maven依赖项从maven嵌入运行Liberty服务器 - Running Liberty server as embedded from maven using maven dependencies
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM