1 Reply Latest reply on Sep 4, 2014 6:33 AM by aroramanoj2005

    jsf-mock ClassFormatError

    jbalaz

      Hi there,

       

      I'm trying to mock FacesContext in my project but always I've got the following error

      java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/el/ELContext

       

      I googling how to resolve this issue but any of the solution provided won't work.

       

      When I separate the part of code to separate project everyting works fine.

       

      Can somebody help? I attached dependency parto of my pom.xml file

       

      thnx a lot