I am facing issue in my app, " Caused by: java.lang.ClassNotFoundException: jakarta.servlet.SingleThreadModel". I am aware that this class has been deprecated and removed from jakarta.servlet-api:6.x release.That's why in my project i have used jakarta.servlet-api:6.1.0,along with spring dependencies-6.0.21, Jdk17, apache-tomee-10.0.0-plus. I have checked all the dependencies and transitive dependencies, there is no reference of older jakarta.servlet-api:5.x or 4.x versions, but still not sure why apache-tomee-10.0.0-plus is trying to load this class.
Please suggest.