gpt4 book ai didi

java-11 - Jibx - 无法与 JDK11 一起运行

转载 作者:行者123 更新时间:2023-12-05 07:17:55 61 4
gpt4 key购买 nike

有人能够在 Java11 上运行 jibx 吗?

  • Jibx 1.3.1
  • Bcel 6.4.1

我看到一些帖子说它正在为 JDK9 运行,没有为 JDK11 运行。

我有以下错误:

Failed to execute goal org.jibx:maven-jibx-plugin:1.3.1:bind (default) on project phoebus-suc-data: Superclass java.lang.Object of class org.jibx.runtime.Utility not found -> [Help 1]

最佳答案

它适用于以下版本。我验证过了。它现在对我有用。

        <plugin>
<groupId>org.jibx</groupId>
<artifactId>maven-jibx-plugin</artifactId>
<version>1.3.1</version>
<executions>
<execution>
<goals>
<goal>bind</goal>
</goals>
</execution>
</executions>
<configuration>
<directory>src/main/jibx-bindings</directory>
<includes>
<include>*binding*.xml</include>
</includes>
<verbose>true</verbose>
</configuration>

<dependencies>
<dependency>
<groupId>org.apache.bcel</groupId>
<artifactId>bcel</artifactId>
<version>6.3</version>
</dependency>
</dependencies>
</plugin>

关于java-11 - Jibx - 无法与 JDK11 一起运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58591493/

61 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com