4 Replies Latest reply: Mar 16, 2010 3:23 PM by DarrylBurke RSS

    java.lang.ClassNotFoundException in file Upload

    843789
      i am trying to upload files from my flex RIA to server.I have a servlet in server to handle the file.I am using apache fileupload jar files.But i am getting this error in eclipse console
      java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileUploadException
           at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
           at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
           at java.lang.ClassLoader.loadClassInternal(Unknown Source)
           at java.lang.Class.getDeclaredConstructors0(Native Method)
           at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
           at java.lang.Class.getConstructor0(Unknown Source)
           at java.lang.Class.newInstance0(Unknown Source)
           at java.lang.Class.newInstance(Unknown Source)
           at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089)
           at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
           at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
           at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
           at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
           at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
           at java.lang.Thread.run(Unknown Source)