From dev-return-105523-archive-asf-public=cust-asf.ponee.io@sling.apache.org Wed Apr 8 10:05:03 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 533F218057A for ; Wed, 8 Apr 2020 12:05:03 +0200 (CEST) Received: (qmail 74703 invoked by uid 500); 8 Apr 2020 10:05:02 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 74538 invoked by uid 99); 8 Apr 2020 10:05:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2020 10:05:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D66D2E2ED7 for ; Wed, 8 Apr 2020 10:05:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 3ADC4780440 for ; Wed, 8 Apr 2020 10:05:00 +0000 (UTC) Date: Wed, 8 Apr 2020 10:05:00 +0000 (UTC) From: "Bertrand Delacretaz (Jira)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SLING-9327) Teleporter not working with jdk11 due to missing xml bind classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-9327?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1707= 8016#comment-17078016 ]=20 Bertrand Delacretaz commented on SLING-9327: -------------------------------------------- bq. now that Thierry Yg=C3=A9 confirmed that the only problem with version = 1.0.18+ is the missing osgi.core dependency? I'm not 100% sure if that's what Thierry means. [~petitbear68] could you confirm that reverting to using {{java.util.Base64= }} would work for you? As opposed to using {{commons-codec}} which I switch= ed to in the commit that Konrad wants us to revert (which I agree is a good= idea in principle). > Teleporter not working with jdk11 due to missing xml bind classes > ----------------------------------------------------------------- > > Key: SLING-9327 > URL: https://issues.apache.org/jira/browse/SLING-9327 > Project: Sling > Issue Type: Bug > Components: Testing > Affects Versions: JUnit Tests Teleporter 1.0.10 > Reporter: Thierry Yg=C3=A9 > Priority: Blocker > Fix For: JUnit Tests Teleporter 1.0.22 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > Currently when using teleporter on jdk11 based environment, the teleporte= r is failing due to missing class. > {quote}java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter a= t org.apache.sling.testing.teleporter.client.TeleporterHttpClient.setConnec= tionCredentials(TeleporterHttpClient.java:63) at org.apache.sling.testing.t= eleporter.client.TeleporterHttpClient.getHttpGetStatus(TeleporterHttpClient= .java:136) at org.apache.sling.testing.teleporter.client.TeleporterHttpClie= nt.waitForStatus(TeleporterHttpClient.java:75) at org.apache.sling.testing.= teleporter.client.TeleporterHttpClient.installBundle(TeleporterHttpClient.j= ava:94) at org.apache.sling.testing.teleporter.client.ClientSideTeleporter.= installTestBundle(ClientSideTeleporter.java:173) at org.apache.sling.testin= g.teleporter.client.ClientSideTeleporter.access$000(ClientSideTeleporter.ja= va:45) at org.apache.sling.testing.teleporter.client.ClientSideTeleporter$2= .evaluate(ClientSideTeleporter.java:207) at com.adobe.granite.testing.serve= rside.rules.GraniteSSTRule$1.evaluate(GraniteSSTRule.java:104) > {quote} > This is due to jdk not containing this package anymore since jdk 9. > Teleporter used is 1.0.10 and with 1.0.20 I couldn't use it as it fails w= ith missing osgi core dependency, unless I would then add it manually in th= e test module pom. > Note from [~bdelacretaz] > As per=C2=A0[https://stackoverflow.com/questions/52502189/java-11-package= -javax-xml-bind-does-not-exist]=C2=A0it looks like using=C2=A0{{jakarta.xml= .bind}}=C2=A0as an additional dependency might fix this. -- This message was sent by Atlassian Jira (v8.3.4#803005)