Class has unsupported major or minor version numbers

前端 未结 2 815
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-24 18:03

In Eclipse I created an EAR project linked to an ejb and a model. I ran the EAR and I got the following error:

cannot Deploy earkmz

deplo

相关标签:
2条回答
  • 2021-01-24 18:50

    It could be because some of the jar[that you might have included in your EAR] is compiled with different version.

    0 讨论(0)
  • 2021-01-24 19:08

    Do check

    Project -> Properties -> Java Compiler

    and set the compliance level over there as 1.6.

    0 讨论(0)
提交回复
热议问题