See also:

Thanks for the feedback BalusC! I did eventually include oro-2.0.8.jar in my classpath but no cigar. I resolved the fileupload issue by implementing your posted solution "Uploading files with JSF 2.0 and Servlet 3.0" and using an iframe. It should be noted that Netbeans nightly build > 5/30 contains a fix for parsing libraries with composite components, which caused NBs to interpret t:inputFileUpload as an error. Best to you!
–
ChrisJun 9 '11 at 15:18