sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand Delacretaz (Jira)" <>
Subject [jira] [Commented] (SLING-9327) Teleporter not working with jdk11 due to missing xml bind classes
Date Thu, 02 Apr 2020 11:06:01 GMT


Bertrand Delacretaz commented on SLING-9327:

In PR#1 Robert suggest removing the dependency to {{javax/xml/bind/DatatypeConverter}}, it's
a good idea indeed!

I haven't been able to confirm that on my box but I strongly suspect it's the base64 encoding
that uses that class.

I have switched to commons-codec for that, [~tyge] could you try again with the current master
branch of ?

I have also removed the {{osgi.core}} dependency that you mentioned in the PR and which was
used for just one constant.

> Teleporter not working with jdk11 due to missing xml bind classes
> -----------------------------------------------------------------
>                 Key: SLING-9327
>                 URL:
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: JUnit Tests Teleporter 1.0.20
>            Reporter: Thierry Ygé
>            Priority: Blocker
>             Fix For: JUnit Tests Teleporter 1.0.22
>          Time Spent: 50m
>  Remaining Estimate: 0h
> Currently when using teleporter on jdk11 based environment, the teleporter is failing
due to missing class.
> {quote}java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter at
at com.adobe.granite.testing.serverside.rules.GraniteSSTRule$1.evaluate(
> {quote}
> This is due to jdk not containing this package anymore since jdk 9.
> Note from [~bdelacretaz]
> As per [] it
looks like using {{jakarta.xml.bind}} as an additional dependency might fix this.

This message was sent by Atlassian Jira

View raw message