Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problems Setting up the MyFaces - Tomahawk into my Tomcat

843844Jul 7 2009 — edited Jul 8 2009
I'm trying to use the tag library from Tomahawk, but doesn't work, when starting the server (Tomcat) rises this exception:
javax.faces.FacesException: java.lang.ClassCastException: org.apache.myfaces.webapp.filter.ServeResourcePhaseListener cannot be cast to javax.faces.event.PhaseListener
This is the list of jar i've incluided into the /lib folder
spring-2.0.6
log4j-1.2.13
jstl
acegi-security-1.0.6
tomcat-i18n-ja
tomcat-i18n-fr
tomcat-i18n-es
tomcat-dbcp
tomcat-coyote
servlet-api
jsp-api
jasper-jdt
jasper-el
jasper
el-api
catalina-tribes
catalina-ha
catalina-ant
catalina
annotations-api
mysql-connector-java-5.1.7-bin
commons-logging-1.1.1
commons-el
commons-beanutils-1.7.0
commons-codec-1.3
commons-collections-3.2
commons-digester-1.8
commons-discovery-0.4
myfaces-api-1.2.7
myfaces-impl-1.2.7
tomahawk12-1.1.9
Accordingly to what i've read on the web, you must take out the jsf-impl and jsf-api jars from the /lib folder but still have the exception.

Does anyone knows how to solve this, i've found nothing worthy on the web.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2009
Added on Jul 7 2009
4 comments
1,372 views