Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » web-fragment projects in 2022-06
web-fragment projects in 2022-06 [message #1854851] Wed, 14 September 2022 14:39 Go to next message
Stephen Booth is currently offline Stephen BoothFriend
Messages: 1
Registered: September 2022
Junior Member
I'm trying to upgrade to 2022-06 and my existing working projects
that use web fragment module 4.0 and a tomcat 9.0 runtime now
give JSP errors

The superclass "jakarta.servlet.http.HttpServlet" was not found on the Java Build Path

However as I'm targetting the tomcat 9.0 runtime the jsp should be using the javax.servlet classes that are in the run-time

If I try creating a new dynamic web project (again version 4.0) I can create jsp files without error (so the jsp compiler is capable of using the correct supertype) but if I then create a fresh web-fragment project the jsps compile against the missing jakarta.servlet classes.

Is this a bug or am I missing something.
Re: web-fragment projects in 2022-06 [message #1854855 is a reply to message #1854851] Wed, 14 September 2022 18:28 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4439
Registered: July 2009
Senior Member

For a web fragment project it should still be using whichever version of the APIs is on the Java Build Path. In which package is the GenericFilter type
found for the web fragment project? Does it still happen with 2022-09, released this morning?


_
Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Wed, 14 September 2022 18:30]

Report message to a moderator

Previous Topic:Formatting JavaScript
Next Topic:Eclipse 2022-09: Maven update failure
Goto Forum:
  


Current Time: Mon May 06 06:22:38 GMT 2024

Powered by FUDForum. Page generated in 0.03458 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top