Re: version 5.7.0, maven and jetty

2021-02-25 Thread Ben Weidig
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.schep...@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
> > >
> >
>


Re: version 5.7.0, maven and jetty

2021-02-25 Thread Marcel Schepers
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  >
> 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
> >
>


Re: version 5.7.0, maven and jetty

2021-02-25 Thread Ben Weidig
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 
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
>


Re: [ANNOUNCEMENT] Tapestry 5.7.0 released

2021-02-25 Thread Bob Harner
Thanks, Thiago, this is really big, much appreciated!

On Wed, Feb 24, 2021, 12:10 PM Emmanuel Sowah  wrote:

> You really think that is a big milestone?
> Tapestry is stuck with version 5.x.x for more than a decade. Check around
> and see the innovations other frameworks are making. Don't be a blind cult
> follower. Look around- there are way better frameworks for server side
> rendering. Tapestry is stuck in the stone age. What a bunch of weird
> framework cult followers you all are.
>
> On Wed, Feb 24, 2021 at 4:29 PM Dmitry Gusev 
> wrote:
>
> > Hooray, that's a big milestone!
> >
> > Thank you to everyone involved!
> >
> > On Wed, Feb 24, 2021 at 3:03 PM Thiago H. de Paula Figueiredo <
> > thiag...@gmail.com> wrote:
> >
> > > Tapestry 5.7.0 is a new major version which needs a migration step for
> > > projects using previous versions. To upgrade, update the dependency in
> > your
> > > build configuration (Maven POM, Gradle build script, etc.) – or
> Download
> > > the new JAR file. Please check the Upgrade Guide section in the release
> > > notes for details. This is a step that only needs to be done once.
> Please
> > > also review the How to Upgrade instructions before upgrading.
> > >
> > > The main new features are:
> > >
> > > Partial Java 9+ modules (JPMS) support. It's partial because
> > > module-info.java classes are not provided yet. On the other hand,
> > > Tapestry's JARs don't have split packages anymore, making them easier
> to
> > be
> > > used with Java 9+ modules. Many classes had to be moved to other
> > packages,
> > > and sometimes even to a different JAR. The migration tool mentioned
> above
> > > will take care of updating your code so it uses the correct new
> > > fully-qualified class names for the ones that were moved and/or
> renamed.
> > > TAP5-2641 - Turn the Tapestry subprojects into Java 9+ modules (JPMS)
> > > RESOLVED TAP5-2627 - Fix split packages RESOLVED
> > > TypeCoercer now uses mapped configuration so coercion overrides are
> done
> > in
> > > an explicit manner.
> > > TAP5-2650 - Change TypeCoercer configuration to MappedConfiguration
> > CLOSED
> > > It's not possible to use the Tapestry request handling framework,
> > specially
> > > the RequestFilter, Dispatcher, Request, Response and
> > > HttpServletRequestFilter classes, without the page framework. These
> > classes
> > > were moved to a new artifact, tapestry-http, which can be used in place
> > of
> > > tapestry-core (which depends on tapestry-http). tapestry-http Servlet
> > > filter class is org.apache.tapestry5.http.TapestryFilter. The original
> > > TapestryFilter, from org.apache.tapestry5, can be used in the same way
> > way
> > > as in past Tapestry versions.
> > >
> > > Full details at https://tapestry.apache.org/release-notes-570.html.
> > >
> > > Thanks for everyone involved in getting this new release done!
> > >
> > > Happy coding!
> > >
> > > --
> > > Thiago
> > >
> >
> >
> > --
> > Dmitry Gusev
> >
> > AnjLab Team
> > http://anjlab.com
> >
>


version 5.7.0, maven and jetty

2021-02-25 Thread Marcel Schepers
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