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
I'm seeing this as well, plus a very similar problem with Guava 14.0.1.
The root cause of this seems to be that the default behaviour of CDI changed from 1.0 to 1.1. In 1.0, CDI didn't do anything with an archive unless a beans.xml was present. In 1.1, a missing beans.xml is equivalent to one with bean-discovery-mode=annotated.
In other words, if you have any libraries in your archive that make use of CDI injection annotations but contain no beans.xml, these will now trigger injection attempts.