gbattine schrieb:
> Hello guys,
> I've to ask your help with a problem I can't solve.
> I'm tring to use Myfaces-Tomahawk Cookmenu. To do it I followed this
> tutorial
> 
> http://www.roseindia.net/jsf/apache-myfaces-tomahawk/tomahawk_jscookMenu_tag.shtml
> 
> I'm not able to understand where I fail, but when I run application it gives
> me 
> 
> exception 
> 
> javax.servlet.ServletException: Filter execution threw an exception
> 
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
> 
> 
> root cause 
> 
> java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUpload

You need to add the commons-fileupload library to your path:
  http://commons.apache.org/fileupload/
  http://repo2.maven.org/maven2/commons-fileupload/commons-fileupload/

The ExtensionsFilter unfortunately does two different things:
 * serve javascript and other resources for tomahawk components
 * handle file uploads

You need the ExtensionsFilter to do the first one. But that means you
need to add commons-fileupload jarfile to your project even if you don't
use the t:fileupload component.

Regards,
Simon

-- 
-- Emails in "mixed" posting style will be ignored
-- (http://en.wikipedia.org/wiki/Posting_style)

Reply via email to