私は 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
更新: 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)