I am using tomcat v 10 and i was told that javax should be replaced with jakarta. But once I replace i am getting the error and receiving 404 error in servletenter image description here
Asked
Active
Viewed 40 times
0
-
Did you update your libraries as well? Because you need a newer version of those as well. In particular, make sure to use the newer Jakarta versions, not the old javax versions. For instance, use https://mvnrepository.com/artifact/jakarta.servlet/jakarta.servlet-api and not https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api. – Rob Spoor Oct 04 '22 at 18:27