4
我使用JSF 2.1.21和Tomahawk 1.1.14。當我嘗試在服務器上部署我的項目(可以是Tomcat或Weblogic的),我看到了警告:部署在服務器上的JSF1029警告
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.
而且很多有關diferent處理程序等的警告(如AliasBeansScopeTagHandler,HtmlInputCalendarTagHandler等)。我怎樣才能避免這種警告? 我試圖改變tomahawk21或tomahawk20戰斧artifactId的,但它並沒有幫助+扔這樣的:
java.util.MissingResourceException: Can't find bundle for base name resources.application, locale en
更新: 我認爲添加堆棧跟蹤,這是顯示的情況下我試圖用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)