More strange error jsf1.2 (jsf-1.2_04-b01-RC1) and Tomcat 6.0.9

Hi!

This error is not a good one. I'm note sure I underdstand it, Do I have a conflict somewhere? I have downloaded jsf-1.2_04-b01-RC1 and jstl1.2.jar. I'm using java 6 and linux.

Anyone have any hints?

2007-feb-23 22:46:49 org.apache.catalina.core.StandardContext listenerStart

ALLVARLIG: Exception sending context initialized event to listener instance ofclass com.sun.faces.config.ConfigureListener

java.lang.LinkageError: loader constraint violation: when resolvinginterface method"javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" theclass loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and theclass loader (instance of org/apache/catalina/loader/StandardClassLoader)for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objectsfor the type javax/el/ExpressionFactory used in the signature

at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1642)

at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:455)

at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)

at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)

at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)

at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)

at java.lang.Thread.run(Thread.java:619)

/Perty

[2835 byte] By [perajonssona] at [2007-11-26 19:29:27]
# 1

Hi.

I had similar problem with the Tomcat 6.0.10 and JSF 1.1.

As there is no answer to this thread I want to share the solution with others.

In my case the problem gone after removing el-api.jar from the WEB-INF/lib directory of my webapp. Tomcat 6 already contains the el-api.jar in the lib directory.

Also I do not know if it is the solusion for the JSF 1.2.

bbobylaka at 2007-7-9 21:57:55 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...