【问题标题】:Configure library for tomahawk in JSF 2.0在 JSF 2.0 中为 tomahawk 配置库
【发布时间】:2013-03-02 04:50:20
【问题描述】:

我正在尝试在 JSF2.0 facelets 中使用 <t:inputFileUpload/> 上传文件

为此,我需要使用命名空间 xmlns:t="http://myfaces.apche.org/tomahawk/"

但显示诸如 “No library found for this namespace”之类的错误

 <html xmlns="http://www.w3.org/1999/xhtml"     
      xmlns:h="http://java.sun.com/jsf/html"  
      xmlns:f="http://java.sun.com/jsf/core"  
      xmlns:ui="http://java.sun.com/jsf/facelets"  
    xmlns:t="http://myfaces.apache.org/tomahawk" <!--Error Here : No library found for this namespace--->

在上面的代码最后一行显示错误

我该如何处理这个错误...

【问题讨论】:

    标签: file-upload jsf-2 tomahawk


    【解决方案1】:

    未找到此命名空间的库意味着您尚未添加库 将 tomahawk-1.1.9.jar 添加到您的构建路径

    【讨论】:

      猜你喜欢
      • 2011-02-27
      • 1970-01-01
      • 2011-07-22
      • 1970-01-01
      • 2012-01-16
      • 2011-04-21
      • 1970-01-01
      • 2013-04-01
      • 1970-01-01
      相关资源
      最近更新 更多