myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon-Pierre Béliveau (JIRA) <>
Subject [jira] Updated: (MYFACES-1896) FacesConfigurator version check incorrect
Date Wed, 20 Aug 2008 22:28:44 GMT


Simon-Pierre Béliveau updated MYFACES-1896:

    Status: Patch Available  (was: Open)

> FacesConfigurator version check incorrect
> -----------------------------------------
>                 Key: MYFACES-1896
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>            Reporter: Hilbert Schraal
>         Attachments: MYFACES-1896.patch
> The FacesConfigurator does some checks on whether there are multiple versions of Tomahawk
and MyFaces in the classpath. This check is incorrect, in the sense that it can, and will,
log incorrect error messages.
> This problem occurs when using the jar from the tomahawk-facelets project (,
of which I'm one of the maintainers. The current release is called tomahawk-facelets-,
which gives the following error:
> ERROR FacesConfigurator?:404 - You are using the MyFaces?-package : tomahawk in different
versions; first (and probably used) version is : 1.1.6, currently encountered version is :
facelets-taglib. This will cause undesired behaviour. Please clean out your class-path. The
first encountered version is loaded from : file:/G:/Development/IdeaProjects/blokart/out/exploded/blokartWeb/WEB-INF/lib/tomahawk-1.1.6.jar.
The currently encountered version is loaded from : jar:file:/G:/Development/IdeaProjects/blokart/out/exploded/blokartWeb/WEB-INF/lib/tomahawk-facelets-taglib.jar!/META-INF/MANIFEST.MF
> However, this jar just contains taglibs and some supporting class files. So the error
is logged without a valid reason.
> I've looked at the code in the FacesConfigurator and have seen that the checks can be
improved, e.g. using the following regular expression for getting the version number of Tomahawk:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message