I\'m unable to deploy my project after migrating it from Java EE 6 to Java EE 7.
I already have CDI enabled (beans.xml with bean-discovery-mode=\"all\" for backward
After a couple of hours testing out this problem, i concluded its related to an incompatibility issue between Apache MyFaces CODI (CDI Extension) and Java EE 7. You can test it on your own by creating an empty Java EE 7 project (Netbeans + Glassfish 4.0) and adding the library, their last release can be downloaded from Here
I was using this extension cause of its @ViewAccessScoped implementation. I replaced it by the new JSF 2.2 annotation javax.faces.view.ViewScoped which actually works with CDI