I'm currently tasked with upgrading our codebase to Java 11 (Still out of date, I know, but that's the requirement)
I changed out all of the old javax packages for Jakarta, and updated all of the Spring and Spring-Security packages, but I'm still running into an error
One of the classes is extending org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter
, but that package in particular is still looking for javax.servlet.Filter
and causing the compilation to fail and an error of The hierarchy of the type <class name> is inconsistent
I have spring-security-web at version 5.8.6, so I'm not sure why it's still trying to look for javax when the rest of the Spring and Spring-Security packages seem to be using Jakarta without issue