From users-return-115521-archive-asf-public=cust-asf.ponee.io@tapestry.apache.org Thu Feb 25 15:21:34 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 7653C18057A for ; Thu, 25 Feb 2021 16:21:34 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id E4F2B64E67 for ; Thu, 25 Feb 2021 15:21:32 +0000 (UTC) Received: (qmail 25182 invoked by uid 500); 25 Feb 2021 15:21:31 -0000 Mailing-List: contact users-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry users" Delivered-To: mailing list users@tapestry.apache.org Received: (qmail 25169 invoked by uid 99); 25 Feb 2021 15:21:30 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2021 15:21:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 05DA91FF39A for ; Thu, 25 Feb 2021 15:21:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 0.198 X-Spam-Level: X-Spam-Status: No, score=0.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.2, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=netzgut-net.20150623.gappssmtp.com Received: from mx1-ec2-va.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id T2ErXejoyqTO for ; Thu, 25 Feb 2021 15:21:29 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.176; helo=mail-oi1-f176.google.com; envelope-from=ben@netzgut.net; receiver= Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 078AFBCEFA for ; Thu, 25 Feb 2021 15:21:28 +0000 (UTC) Received: by mail-oi1-f176.google.com with SMTP id l64so6380607oig.9 for ; Thu, 25 Feb 2021 07:21:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netzgut-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=sFMbx7tJUmVxmoutbebIPpDZhPFesFaP09j5DDsYhGw=; b=fBU5uQLS5XNjb/bTjcUxqhI/SUwvVsZVg/VA2J/lBkQ/zBOyc2O7FWQ2kQaSlEiAub vVB3Gi6CchYqBaYG9ZZm2+iNX1GbqDdXwNceV3kgOpDjbuF2OuWNke7sU/WCgvqZ2qev jUQjo219zXTkLttWstG/gZdzduhQXeyPeXQNqkw2fxzzGlXmeAZ1Wpw6JfKFSydW0Lkl 8iPtIrGlh+R+L4VFP8mORNWSOkxzqVURQx5Es4GEsAVkPxHBgTa3inGhJoLZRpvqdHmL rm+47EJ2XbK7o/CP2pY6mJMfCaCWh1HIc873FpH0tP0busjWChSrMCKnE8RnyCCfS/1C U/Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=sFMbx7tJUmVxmoutbebIPpDZhPFesFaP09j5DDsYhGw=; b=LBktTBoz/r2o3f0cirJj4vaV5WRcHEugoDo9vyWvYf5s5XbKLCcHo2L+UZjNJgYUCE MntS4fKCuOFpDhTIKtZ8TIcV+IUezEogrVfhK4jvxfQdgmcja2OmWfgWP5ES1UOfeKhm wLKmiSUacNcepw6hkRSmMyzRATPBN1XkeGLnF2xuhllpL0F/oFnFc0XCp8StHBrGjlnj usDKod8X2h/uBtD1PRlWI1WXQLsT/3gC2fPNjhADUrm/j6Sd/y1FkepSqX/OlZ3m7XAW VZZ9S3uNPuKQA8P2UXiQ3mDuJJ0XA1SyoWDQUbz4cYEYnh+18/NaZwxNu+h2yttyNRy+ VlOA== X-Gm-Message-State: AOAM530yWBgXmYw3en4tASzxkpcbkKZmiFt+IhGYNcTTSkQcp7b4zf3z Z8usCiLbGIT8HFVdCvJF+byjdntYu1M4zg4gTNQc3xada8ZOBw== X-Google-Smtp-Source: ABdhPJwmeFYwveuBGkv7gUXwsRgcg5dYJv6bYM3O5yFhZtegCDbUa9SyMwvy+mPLGsDdVMK4NI1gOhToza6cEz1EmoQ= X-Received: by 2002:aca:b108:: with SMTP id a8mr2243141oif.49.1614266488204; Thu, 25 Feb 2021 07:21:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ben Weidig Date: Thu, 25 Feb 2021 16:21:17 +0100 Message-ID: Subject: Re: version 5.7.0, maven and jetty To: Tapestry users Content-Type: multipart/alternative; boundary="0000000000009a48ba05bc2ab450" --0000000000009a48ba05bc2ab450 Content-Type: text/plain; charset="UTF-8" Ah ok. I don't know much about maven and jetty:run, we run an embedded jetty as Java application, and use gradle ;-) It kinda sounds like a (transitive) dependency issue. Something still wants 5.6.x and is trying to load a class from the old package. Maybe "mvn dependency:tree -Dverbose" can shed some light if there's a wrong version at some point. Or can you pinpoint where the class is supposed to be loaded? To identify the dependency which might be loading the wrong version? Is there more verbose output available? I'm sure it's one of the first things you tried, but did you clean the project, and made sure it did clean everything? We sometimes had issues with old/outdated class files in a build/target-folder. That's all I got! On Thu, Feb 25, 2021 at 2:52 PM Marcel Schepers wrote: > Hello Ben, > > Thank you very much for your assistance. > > What is was trying to say is that the Maven/Jetty occurs after the > migration process as described in the release notes. As far as I can see > the migration tool did its job as the project compiles error free. It is > the 'mvn jetty:run' command that causes the error. > > Marcel > > On Thu, Feb 25, 2021 at 1:28 PM Ben Weidig wrote: > > > Hi Marcel, > > > > Tapestry 5.7.0 is not a simple drop-in upgrade from 5.6.x and needs > manual > > migration steps. > > A lot of classes, like Configuration, moved to new packages, to make the > > Java 9+ module system (partially) possible, and decouple the UI-related > > parts from the general web-stack. > > > > There's a migration tool available, and the necessary steps are in the > > release notes > > > > https://tapestry.apache.org/release-notes-570.html > > > > Hope this helps! > > Ben > > > > On Thu, Feb 25, 2021 at 9:03 AM Marcel Schepers < > marcel.schepers@gmail.com > > > > > wrote: > > > > > Hello, > > > After upgrading to 5.7.0 I get this error message when trying to run my > > > development version using Jetty's Maven plugin: > > > > > > java.lang.NoClassDefFoundError: org/apache/tapestry5/ioc/Configuration > > > > > > Any ideas what needs to be added to what classpath? > > > > > > Best, > > > Marcel > > > > > > --0000000000009a48ba05bc2ab450--