【发布时间】:2013-04-27 20:13:24
【问题描述】:
我使用 JSF 2.1.21 和 Tomahawk 1.1.14。当我尝试在服务器(可以是 Tomcat 或 Weblogic)上部署我的项目时,我看到了警告:
WARNING: JSF1029: Application is versioned at 2.0 (either explicitly by the version
of /WEB-INF/faces-config.xml or the lack of a /WEB-INF/faces-confg.xml), however class
'org.apache.myfaces.custom.aliasbean.AliasBeanTagHandler' depends on legacy facelet class.
The facelet artifact represented by this class will not be registered.
还有许多其他关于不同处理程序的警告(如 AliasBeansScopeTagHandler、HtmlInputCalendarTagHandler 等)。我怎样才能避免这个警告? 我试图在 tomahawk21 或 tomahawk20 上更改 tomahawk 的 artifactId,但没有帮助 + 它抛出了这个:
java.util.MissingResourceException: Can't find bundle for base name resources.application, locale en
更新: 我考虑添加stacktrace,在我尝试使用tomahawk20的情况下显示:
java.util.MissingResourceException: Can't find bundle for base name resources.application, locale en
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:1028)
at org.apache.myfaces.tomahawk.resource.UncompressedResourceHandlerWrapper.getLocalePrefixForLocateResource(UncompressedResourceHandlerWrapper.java:242)
at org.apache.myfaces.tomahawk.resource.UncompressedResourceHandlerWrapper.createResource(UncompressedResourceHandlerWrapper.java:78)
at org.apache.myfaces.tomahawk.resource.UncompressedResourceHandlerWrapper.createResource(UncompressedResourceHandlerWrapper.java:61)
at com.sun.faces.facelets.tag.jsf.CompositeComponentTagLibrary.getCompositeComponentResource(CompositeComponentTagLibrary.java:155)
【问题讨论】:
标签: jsf