On Fri, Oct 18, 2024 at 11:20 AM Chelamalasetty Sunil Joshi
<c.suniljo...@zensar.com.invalid> wrote:

> Hello, Tapestry Team
>

Hello!


> Still, We see tapestry-spring-5.9.0-preview-2.jar using the
> javax.serlvet.ServletContext Due to that we are facing below error. Kindly
> check this issue
>

If you're using a servlet container which supports Jakarta EE, you should
use tapestry-spring-jakarta, not tapestry-spring.


>
> 2024-10-18 19:48:15,851 [main] ERROR
> org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/admin] -
> Exception starting filter [app]
> java.lang.NoClassDefFoundError: javax/servlet/ServletContext
>
> Thanks,
> Sunil
>
> On 2024/09/19 13:41:32 "Thiago H. de Paula Figueiredo" wrote:
> > Hello, Tapestry community!
> >
> > Apache Tapestry 5.9.0-preview-2 was released. Notice the '-preview' in
> the
> > version name. It's the second one using 2 parallel branches to support
> both
> > jakarta.servlet and javax.servlet, so consider this as a public beta so
> > people can test it and we can troubleshoot before the proper 5.9.0
> release.
> >
> > Notice the jakarta.servlet-using artifacts are all of the Tapestry
> > artifacts except Plastic, Commons, BeanModel, genericsresolver-guava and
> > Quickstart have the '-jakarta' suffix for backward compatibility reasons.
> > For example, the dependency on the jakarta.servlet tapestry-core version
> > would be this in Maven:
> > <dependency>
> > <groupId>org.apache.tapestry</groupId>
> > <artifactId>tapestry-core*-jakarta*</artifactId>
> > <version>5.9.0-preview</version>
> > <scope>compile</scope>
> > </dependency>
> >
> > Fixed issues:
> > 1) The list of suffixed artifacts was expanded. For example,
> > tapestry-upload isn't usable with the javax.servlet Tapestry version.
> > 2) As noticed by Dmitry Gusev (thanks!), tapestry-jpa needed to have a
> > suffixed version and also upgraded dependencies, since the current one
> > still uses the javax.servlet packages.
> > 3) A number of artifacts was still using dependencies with
> javax.something
> > classes which have corresponding jakarta.something ones, something that
> > could cause problems when running in servlet containers implementing the
> > latest Servlet API versions. These dependencies have been upgraded.
> >
> > Please post here any issues you find.
> >
> > Happy testing!
> >
> > Cheers!
> >
> Disclaimer : The contents of this e-mail and attachment(s) thereto are
> confidential and intended for the named recipient(s) only. It shall not
> attach any liability on the originator or Zensar Technologies Limited or
> its affiliates. Any views or opinions presented in this email are solely
> those of the author and may not necessarily reflect the opinions of Zensar
> Technologies Limited or its affiliates. Any form of reproduction,
> dissemination, copying, disclosure, modification, distribution and / or
> publication of this message without the prior written consent of the author
> of this e-mail is strictly prohibited. If you have received this email in
> error please delete it and notify the sender immediately. Before opening
> any mail and attachments please check them for viruses and defect. Zensar
> Technologies Ltd or its affiliate do not accept any liability for virus
> infected mails.
>


-- 
Thiago H. de Paula Figueiredo
Software developer/engineer
Apache Tapestry consultant, committer and project management committee
member
You can sponsor my work on Tapestry at
https://github.com/sponsors/machina-br

Reply via email to