I know this question is asked several times, but none of the solutions could help me out.
Here\'s link to project project file.
Hoping anyone could help me out JDK
Tomcat 10 is for Servlet 5.0, which is not backwards compatible with earlier versions of the Servlet specification.
That is because all the Java types were moved from package javax.servlet
to package jakarta.servlet
.
Don't use Tomcat 10, use Tomcat 9.
If you want to upgrade to Tomcat 10 or later, see Apache Tomcat® - Migration Guide - Tomcat 10.0.x.
See Spring Framework issue #25354 (Support for Jakarta EE 9 (annotations and interfaces in jakarta. namespace))* for status of Spring support for Servlet 5.0 / Tomcat 10.