It may be a bug caused by the JDK version, at least it was for me try updating jdk and creating it again.
Also, make sure you create it using the correct command
mvn clean package -Pspark-1.4 -Dhadoop.version=2.2.0 -Phadoop-2.2 -DskipTests
source share