Hi,
I am having trouble while am trying to upload a file. Thing is, i have done this before in Apache
Tomcat (on a
Struts FrameWork). This time round, am tring to do the same on a
Jboss AppServer. ver 4.0.3
The error am getting is :
exception
javax.servlet.ServletException:
Servlet execution threw an exception
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
java.lang.Class.getConstructor0(Class.java:2671)
When i run this upload part alone from tomcat it seems to be working fine. the moment run it from JBoss, i get this error.
What seems to be the error ?
like i mentioned, it seems to be working fine with tomcat.
I have included my Struts.jar in my deploy folder ( and my other Struts Actions are working). i also did try putting common-fileupload jar and the common-io jar both in the buildpath and the web-inf\lib folder, still no help.
Any idea??? Please.
<edited >
[ September 05, 2008: Message edited by: Rishi Varma ]