Sure, if you ignore Dropwizard and tons of other less popular java frameworks out there.
Just go to google trends and compare Spring and Dropwizard. Or look at https://www.jetbrains.com/lp/devecosystem-2021/java/. Dropwizard doesn't even appear in the list of web frameworks.
I mean, if you still believe that Java has as many frameworks as Javascript has (and had in the past) there is nothing I can say that will convince you.
FYI, I despise both J2EE and Spring. (Maybe Spring Boot is okay.)