specified java 8 in pom, removed @Inject from controller