File upload: java.lang.NoClassDefFoundError

UI Components for JSF
Post Reply
User0309
Posts: 11
Joined: 15 Apr 2011, 20:43

15 Apr 2011, 20:55

Hi,

I am trying to upload a file using prime faces with JSF 2.0. I get this error when i run my application:

description:The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: PWC1243: Filter execution threw an exception
root cause

java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory

I know i have to add some dependency for commons file upload. But where do i get this from???? Is this a jar file which i have to add in classpath??
I could not find it on www.primefaces.org.

Plssss help...........
Thanx....
NetBeans 6.9.1
JSF 2.0 with facelets
glassfish 3.0
Enterprise java beans
PrimeFaces 3.0

User0309
Posts: 11
Joined: 15 Apr 2011, 20:43

15 Apr 2011, 22:33

i have found the answer to this....
NetBeans 6.9.1
JSF 2.0 with facelets
glassfish 3.0
Enterprise java beans
PrimeFaces 3.0

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

15 Apr 2011, 23:52

I assume you don't have the user's guide?

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests