-
1. Re: Myfaces, seam 2.0 and Jboss 4.2.2
magdam Dec 10, 2007 9:35 AM (in response to magdam)When I want to use jsf-api.jar and jsf-impl.jar instead of myfaces-api-1.1.5.jar and myfaces-imp-1.1.5.jar
I have error:
Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "javax.faces.application.Application.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/jboss/web/tomcat/service/WebAppClassLoader) of the current class, com/sun/facelets/compiler/Compiler, and the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) for resolved class, javax/faces/application/Application, have different Class objects for the type javax/el/ExpressionFactory used in the signature -
2. Re: Myfaces, seam 2.0 and Jboss 4.2.2
magdam Dec 11, 2007 4:12 AM (in response to magdam)I think that this errors caused by el-api.jar in my application.
I deleted el-api.jar and el-ri.jar from my application.
java.lang.NoClassDefFoundError: org/jboss/el/lang/EvaluationContext org.jboss.seam.jsf.SeamApplication.getExpressionFactory(SeamApplication.java:346)
Where should I search a solution? -
3. Re: Myfaces, seam 2.0 and Jboss 4.2.2
magdam Dec 11, 2007 4:13 AM (in response to magdam)This error
ava.lang.NoClassDefFoundError: org/jboss/el/lang/EvaluationContext org.jboss.seam.jsf.SeamApplication.getExpressionFactory(SeamApplication.java:346)
I have when I start my application. -
4. Re: Myfaces, seam 2.0 and Jboss 4.2.2
magdam Dec 11, 2007 7:57 AM (in response to magdam)I added library jboss-el.jar to
server\all\deploy\jboss-web.deployer\jsf-libs\
and application works fine.