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
cannot Deploy earkmz
deplo
It could be because some of the jar[that you might have included in your EAR] is compiled with different version.
Do check
Project -> Properties -> Java Compiler
and set the compliance level over there as 1.6.