Even taking into account personal preference and opinion I still believe using Java or any of its frameworks in 2020 is an ill advice.
There is no doubt that anyone learning Java now is guaranteed to find jobs in the foreseeable future, but that doesn’t mean it is a good choice. As of today there are already very few applications where Java is the preferable choice, give it 5 years and Java developers will be exclusively limited to maintaining legacy code.
For system development Rust and Go are just better. Flutter (Dart) is still in its early years but promises a lot in UI creation and smartphone apps. Python is infinitely easier for any other kind of script and tool. Finally, you have Kotlin which is basically an improvement on every aspect where Java fails.
Java is still valid, but there are just better alternatives with no tradeoffs.