【问题标题】:Jibx - not able to run with JDK11Jibx - 无法与 JDK11 一起运行
【发布时间】:2019-10-28 13:06:36
【问题描述】:

有人能够在 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]

【问题讨论】:

    标签: java-11 jibx


    【解决方案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>
    

    【讨论】:

      猜你喜欢
      • 2013-06-28
      • 2013-07-11
      • 2019-03-11
      • 2020-09-24
      • 1970-01-01
      • 1970-01-01
      • 2013-08-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多