I had this issue when trying to run configuration from IntelliJ IDEA - reloading the project with maven helped.