I had the same issue and after lots of reserach I found the classes were not getting published in my target folder. So I had run the below two commands from cmd
- mvn clean install
- mvn package
Surprisingly I was able to access the page and error was gone. Same can be verified from target folder where you will be able to find the complied classes which were missing earlier.