Some times we got same exception when our resource folder is not at correct place. It should always be at under src/main package.
see image