struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saeed Iqbal <saee...@gmail.com>
Subject Re: NoClassDefFoundError
Date Wed, 02 Dec 2009 07:02:29 GMT
No no you need the commons io file upload jar on the classpath

On Wed, Dec 2, 2009 at 12:45 PM, Nguyen Xuan Son <yamacom@gmail.com> wrote:

> Dear Saeed Iqbal
> I do have C0003_ChangePasswordAction.class
> in WebRoot\WEB-INF\classes\com\baibai\action
> is that what you mean?
> thank you very much
>
> 2009/12/2 Saeed Iqbal <saeedcs@gmail.com>
>
> > Your jar is not on the classpath.
> >
> > On Wed, Dec 2, 2009 at 12:22 PM, Nguyen Xuan Son <yamacom@gmail.com>
> > wrote:
> >
> > > dear all
> > > I got the error
> > > java.lang.NoClassDefFoundError:
> > > org/apache/commons/io/output/DeferredFileOutputStream
> > > at
> > >
> > >
> >
> org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:196)
> > > at
> > >
> > >
> >
> org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:358)
> > > at
> > >
> > >
> >
> org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parse(JakartaMultiPartRequest.java:93)
> > > at
> > >
> > >
> >
> org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper.<init>(MultiPartRequestWrapper.java:75)
> > > at
> > >
> org.apache.struts2.dispatcher.Dispatcher.wrapRequest(Dispatcher.java:708)
> > > at
> > >
> > >
> >
> org.apache.struts2.dispatcher.FilterDispatcher.prepareDispatcherAndWrapRequest(FilterDispatcher.java:327)
> > > at
> > >
> > >
> >
> org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:367)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> > > at
> > >
> > >
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> > > at
> > >
> > >
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> > > at
> > >
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> > > at
> > >
> >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
> > > at
> > >
> > >
> >
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> > > at
> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
> > > at java.lang.Thread.run(Unknown Source)
> > > though I have declared
> > > <action name="changepass"
> > > class="com.baibai.action.C0003_ChangePasswordAction">
> > > <result name="success">C0002_Home.jsp</result>
> > > <result name="input">C0003_ChangePassword.jsp</result>
> > > </action>
> > >
> > > do you have any idea why could this happen to me
> > > thank you very much
> > >
> > > --
> > > =======================================================================
> > > Ritsumeikan University, Asia JinZai Project
> > > Master of Information Science
> > > Nguyen Xuan Son
> > >
> > > Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
> > > ShiteiHaimu
> > > Rien, Room 103
> > > Tel/Fax  : 81-(0)90-3976 2246
> > > Email    : nr0003xx@ed.ritsumei.ac.jp
> > > Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
> > > =======================================================================
> > >
> >
> >
> >
> > --
> > Saeed Iqbal
> > Independant Consultant (Freelance)
> > Struts - J2EE - Application Architect / Developer
> >
>
>
>
> --
> =======================================================================
> Ritsumeikan University, Asia JinZai Project
> Master of Information Science
> Nguyen Xuan Son
>
> Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
> ShiteiHaimu
> Rien, Room 103
> Tel/Fax  : 81-(0)90-3976 2246
> Email    : nr0003xx@ed.ritsumei.ac.jp
> Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
> =======================================================================
>



-- 
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message