I've these jars in the built path of the eclipse:

    commons-codec-1.4.jar
    commons-fileupload-1.2.1.jar
    commons-io-1.4.jar

The project on the eclipse compiles without problems, but when im
trying to run it on hostmode or deploying it at Google App Engine this
classes are not found...probably i've to put this jars to another
place or configure something to allow found them running the
application, but I don't know where.

On Dec 9, 1:28 am, charlie <[email protected]> wrote:
> Err, haven't .
>
> On Tue, Dec 8, 2009 at 7:28 PM, charlie <[email protected]> wrote:
> > You have mentioned that you have the commons FileUpload jar in WEB-INF/lib
> > , you're positive that it's there and getting deployed ?
>
> > On Tue, Dec 8, 2009 at 6:42 PM, Henry <[email protected]> wrote:
>
> >> Hi Guys,
>
> >> I'm trying to upload a file to the server following the common
> >> examples of "FileUpload" and I have the following error:
>
> >> java.lang.NoClassDefFoundError: org/apache/commons/fileupload/
> >> FileUploadException
> >>        at java.lang.Class.getDeclaredConstructors0(Native Method)
> >>        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> >>        at java.lang.Class.getConstructor0(Class.java:2671)
> >>        at java.lang.Class.newInstance0(Class.java:321)
> >>        at java.lang.Class.newInstance(Class.java:303)
> >>        at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
> >>        at org.mortbay.jetty.servlet.ServletHolder.getServlet
> >> (ServletHolder.java:339)
> >>        .......
>
> >> I can put my code, but the problem is in the server side, concretely
> >> when I use the classes that required from the package commons-
> >> fileupload.jar, for example this import:
>
> >>     import org.apache.commons.fileupload.FileUploadException;
>
> >> Im running the application in host mode, but ive tried to deploy it to
> >> Google App Engine, and i've the same error. If I dont use that package
> >> in my server class the calls work good, so the problem must to be king
> >> of configuration about classpath or something...
>
> >> Does anyone know how to configure my eclipse to fix this error?
>
> >> Thanks in advance.
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups
> >> "Google Web Toolkit" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected]<google-web-toolkit%[email protected]>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-web-toolkit?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to