I had the same issue with Eclipse a couple of months ago when importing my project. Now I had the same with intelliJ. Here is how someone helped me to solve this in IntelliJ:
Menu => View => Tools windows => Maven Project
In the spring_user value => Run Configuration, choose clean install.
This should do a clean install and after this you should be able to see the classes