Don't conflate a specific criticism with a general one.
I don't necessarily hate frameworks, but I do dislike Spring. It's a heavyweight framework, an empty project spits out a 50MiB jar that takes like 5s to start, requiring full classpath scanning, bytecode modification and a full DI setup.
There are much more lightweight and friendly approaches, such as some of the microprofile implementations. A jersey+jetty setup fits into a 5MiB jar and starts in 200ms.