Error:

To solve this add this to pom.xml
 

(or)