Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
File upload 在JSF2.0中为tomahawk配置库_File Upload_Jsf 2_Tomahawk - Fatal编程技术网

File upload 在JSF2.0中为tomahawk配置库

File upload 在JSF2.0中为tomahawk配置库,file-upload,jsf-2,tomahawk,File Upload,Jsf 2,Tomahawk,我试图在JSF2.0 facelets中使用上传一个文件 为此,我需要使用namespacexmlns:t=”http://myfaces.apche.org/tomahawk/“ 但显示错误,如“找不到此命名空间的库” <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/c

我试图在JSF2.0 facelets中使用
上传一个文件

为此,我需要使用namespacexmlns:t=”http://myfaces.apche.org/tomahawk/“

但显示错误,如“找不到此命名空间的库”

 <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--->


找不到此命名空间的库表示您尚未添加库 将tomahawk-1.1.9.jar添加到构建路径中