在我的某些项目中或者在eclipse中的某个地方,有一些我不再使用它们的jar文件,现在控制台每次构建时都会显示此警告,即使它与当前问题无关:
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.richfaces.taglib.CalendarTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns582:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.ColumnTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.ColumnsHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns621:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.RowKeyConverterComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.DataFilterSliderTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.RowKeyConverterComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.RowKeyConverterComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.RowKeyConverterComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.RowKeyConverterComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.DataScrollerTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns676:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.DragSupportHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.DropDownMenuTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns691:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.DropSupportHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.FileUploadTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns721:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.GraphValidatorHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns814:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.PageTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.Paint2DTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.PanelMenuGroupTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.webapp.taglib.AjaxComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.ScrollableDataTableTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns886:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.SimpleTogglePanelTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns900:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.RowKeyConverterComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.SuggestionBoxTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.TabPanelTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.HtmlToolTipTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.TreeTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.richfaces.taglib.TreeNodeTagHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.taglib.html.facelets.ActionParamHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns1004:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.webapp.taglib.AjaxComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.webapp.taglib.AjaxComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns1019:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.webapp.taglib.AjaxComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.taglib.html.facelets.IncludeHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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 '[ns1044:handler-class: null]' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.taglib.html.facelets.MediaOutputHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.webapp.taglib.AjaxComponentHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.taglib.html.facelets.AjaxPushHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
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.ajax4jsf.taglib.html.facelets.AjaxSupportHandler' depends on a legacy facelet class. The facelet artifact represented by this class will not be registered.
我如何摆脱这些库并避免这个消息。这也使得eclipse使我的项目变得更慢。
答案 0 :(得分:2)
问题解决了。要擦除我不需要的所有库,我只需要去eclipses属性并找到构建路径。当我刚从lib文件夹中删除它们时,它们不会从构建路径中删除。