Change Spring Configuration
Move from XML-based to Java Config
Fixing loading resources issue.
Changing addResourceHandler to addResourceHandlers.