JSF1029 warning when deploying to server

I am using JSF 2.1.21 and Tomahawk 1.1.14. And when I try to deploy my project on the server (it can be Tomcat or Weblogic), I see warnings:

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. 

And many other warnings about different handlers (for example, AliasBeansScopeTagHandler, HtmlInputCalendarTagHandler, etc.). How can I avoid these warnings? I tried changing the artifactId tomahawk to tomahawk21 or tomahawk20, but this did not help + it threw this:

 java.util.MissingResourceException: Can't find bundle for base name resources.application, locale en 

UPDATE: I was thinking of adding stacktrace, which was shown when I tried to use 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) 
+4
source share
1 answer

Before deploying your application to web logic, first deploy it under apache tomcat and try to resolve warnings. "Cannot find the package for the base name resources.application, locale en" if your application is wit maven, put i18n.properties file for src \ main \ resources

I uploaded a fully customized trial version of JSF2.2 on github JSF Interface

0
source

Source: https://habr.com/ru/post/1478978/


All Articles