Duplicate class in myfaces and tomahawk lead in class cast exception in JBoss
-----------------------------------------------------------------------------
Key: MYFACES-1024
URL: http://issues.apache.org/jira/browse/MYFACES-1024
Project: MyFaces
Type: Bug
Components: Tomahawk
Versions: 1.1.1
Environment: JBoss AS 4.0.3SP1
Reporter: Julien Viet
When using tomahawk lib in a war file there is a class cast exception which
occurs because it contains a class in myfaces.
As this class is loaded at the application server level and the war file level
a CCE occurs.
The name of the class is : org.apache.myfaces.config.MyFacesConfig
Simply removing this class from tomahawk.jar will solve the issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira