当你在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

相关文章:

  • 2021-10-18
  • 2021-10-16
  • 2021-09-08
  • 2021-12-22
  • 2021-07-17
猜你喜欢
  • 2021-11-23
  • 2021-08-20
  • 2021-04-20
  • 2021-09-13
  • 2021-10-19
  • 2022-12-23
  • 2021-07-14
相关资源
相似解决方案