Description
Spec says a factory can be declared by including a META-INF/services file with the name of the javax.faces factory class (in this case java.faces.view.ViewDeclarationLanguageFactory ) with its contents containing a single line containing the name of the class that implements this factory. The MyFaces startup/read config code throws an IllegalStateException however in this case. Looks like the code wasn't updated to reflect the new 2.0 Factory.
Use case – Portlet Bridge currently uses this methodology and hence doesn't run on MyFaces.