Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

Missing javax.xml.bin for build with Java11 #298

Description

@orat

Hi,
rosjava_core can not be build for java11 because javax.xml.bind is not included in version 11 anymore.

I do not really understand the build-details of rosjava so I do not know where to add the depencency. There is javax.xml.bind available with version 2.2.11 on jcenter. So it should be easy to add the depencency.

But in which files?

best regards
Oliver

Activity

  1. jubeira commented on Jul 17, 2019

    @jubeira

    Hi @orat,

    Do you have a link with some documentation regarding the bind file? I'm not familiar with the details of Java 11.
    Rosjava uses Gradle, perhaps checking out Gradle documentation to build with Java 11 is a good starting point?
    If you find a backwards-compatible way of supporting Java 11, feel free to send a PR.

    Thanks!

  2. henroth commented on Mar 5, 2020

    @henroth

    For anyone else wondering add the following to the dependencies in this file https://github.com/rosjava/rosjava_core/blob/kinetic/apache_xmlrpc_common/build.gradle

    compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.4'

  3. Dave-van-der-Meer commented on Jul 23, 2020

    @Dave-van-der-Meer

    For anyone else wondering add the following to the dependencies in this file https://github.com/rosjava/rosjava_core/blob/kinetic/apache_xmlrpc_common/build.gradle

    compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.4'

    I have these dependencies already out of the box and yet I have errors about missing dependencies for javax.xml.bind when running catkin_make.

    Edit: I use ROS Melodic where the javax.xml.bind seems not to exist anymore since Java 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions