tomcat 发布web项目报错:org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

   当你在tomcat部署服务的时候,有可能在logs输出错误碰到这样的错误:

org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

   解决方案:

            看看你项目中是用什么编译的,如果是jdk1.7的话,再看看你tomcat发布成windows服务的时候,注册表里面使用的jdk是版本1.7吗,如果不一致,就会导致上述的问题,统一成一样的,问题解决,如**册表,注意路径:

tomcat 发布web项目报错:org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException

tomcat 发布web项目报错:org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException