Yesterday I wanted to start a new JSF archetype and I got this exception:
java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
This happens if you have an “el-api.jar” in your project. The same jar file is already in the tomcat “lib” directory. I just removed the “el-api.jar” from my libs and than it worked out for me.