From users-return-115522-archive-asf-public=cust-asf.ponee.io@tapestry.apache.org Fri Feb 26 09:01:58 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 16B86180607 for ; Fri, 26 Feb 2021 10:01:58 +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 A4EDF64CB0 for ; Fri, 26 Feb 2021 09:01:53 +0000 (UTC) Received: (qmail 26932 invoked by uid 500); 26 Feb 2021 09:01:52 -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 26920 invoked by uid 99); 26 Feb 2021 09:01:51 -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; Fri, 26 Feb 2021 09:01:51 +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 E50AB1FF39A for ; Fri, 26 Feb 2021 09:01:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id pDzp1jQhvdOZ for ; Fri, 26 Feb 2021 09:01:50 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::936; helo=mail-ua1-x936.google.com; envelope-from=marcel.schepers@gmail.com; receiver= Received: from mail-ua1-x936.google.com (mail-ua1-x936.google.com [IPv6:2607:f8b0:4864:20::936]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 603227FC9B for ; Fri, 26 Feb 2021 09:01:50 +0000 (UTC) Received: by mail-ua1-x936.google.com with SMTP id a31so2843822uae.11 for ; Fri, 26 Feb 2021 01:01:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=rC4x1aRe7cJXjGQHXeKnwYt9NI+oS2O8k4L+ildVYME=; b=nCN3tQV1MCV6VbKYU/pcRMXmdoWtN+PTOOnevbBsucSzv0Oh/eIYmhkEfj/BsI0/SD LAYM6zSaY8QmnrDi6HDGhi+xH7okzCAYBxtHyJ9lHyrsySitEmx5k4FwkLTpibj3LdQL F9WEV7Ydvwm5uLGDQf7WwSeo7Tz+SFzH7ATPUCdFEk+keqtW3mjSDKyxNu0VDFAXY/ad d/Y5fqNoQgfzdl8Lbg9MbDH4CO0gO9Qj7a4c0Km2LpThLrIw0SpN6vOf7EpX7vaonlEs 0ErqZww7lHAEZvhXNGLmPttd2uCsMzePWx6n+KX4VUWWObyVc86aPQb1UAitoCP+DkN6 e0+Q== 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=rC4x1aRe7cJXjGQHXeKnwYt9NI+oS2O8k4L+ildVYME=; b=ZaFvp6Kb+L+Mw4uer22kN4jy0G9QhlYYYTDG21yX2CXcm3h61Izttp5Idn8Jevifmt O9ldh3GExRh1llpbTNPKa95q4VMBDvCVefvFXsitjEG6d9dmtzX3RX1q2ghoW+Dacawh bPNuqy8+P1BEKIHTLpiDtopv6xscRw7swVdaBSW8aooHA96RbJm101+fJMXlxjE3Hv5y 2I2wFYHkzShR79HpNXVH9EoqJdDPuN6NetiMlClPo16VBYRi/kAAOryxyQeseecrXQJz WvKj1b+z1xKYTuf/ilYi9IseO2i4w9K5wlrjTuLxbVI957/SAhn8Yt5tbXOJqp61sU9z vevg== X-Gm-Message-State: AOAM533oqTux62dYDHpLsvP1UqRjlXiqtTAmuikNQgHEHbrGIdMxaGyl 1kQ4HJKKa6kea0gMPqPuppgxvdfuSpA6PETkvxsTHj+Y X-Google-Smtp-Source: ABdhPJzzWkNLx3ruEP1Ay7FEkisrxNjE/aYk2F6C+TrVIf8tmC36Bus4C1aUTNNVanu1JXqICvxoEr6+l3TZFU0FY2k= X-Received: by 2002:ab0:3314:: with SMTP id r20mr1037065uao.54.1614330103461; Fri, 26 Feb 2021 01:01:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Marcel Schepers Date: Fri, 26 Feb 2021 10:01:32 +0100 Message-ID: Subject: Re: version 5.7.0, maven and jetty To: Tapestry users Content-Type: multipart/alternative; boundary="0000000000005dfa5005bc39842e" --0000000000005dfa5005bc39842e Content-Type: text/plain; charset="UTF-8" I'm sorry, I'm sorry .... my fault! A forgotten dependency in one of my Maven modules. Works like a charm now. Marcel On Thu, Feb 25, 2021 at 4:21 PM Ben Weidig wrote: > 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 > > > > > > > > > > --0000000000005dfa5005bc39842e--