tomcat 8 doesn't support Java 6