GFS + Struts 1

14 views
Skip to first unread message

Lukasw44

unread,
May 12, 2010, 10:59:34 AM5/12/10
to GoogleFileService
Hello i use netbeans and struts1 and I have exception because in
struts library I have coommon-fileupload-1.1.1
but if i delete this library and deploy it your library common-
fileupload1.2.1 i have exception

Problem accessing /upload. Reason:


org.apache.commons.fileupload.servlet.ServletFileUpload.getItemIterator(Ljavax/
servlet/http/HttpServletRequest;)Lorg/apache/commons/fileupload/
FileItemIterator;

Caused by:

java.lang.NoSuchMethodError:
org.apache.commons.fileupload.servlet.ServletFileUpload.getItemIterator(Ljavax/
servlet/http/HttpServletRequest;)Lorg/apache/commons/fileupload/
FileItemIterator;
at datastore.FileUploadServlet.doPost(FileUploadServlet.java:71)

So Google file service have problem to integrated struts 1 :///
hawe you got any idea how can i on it

--
You received this message because you are subscribed to the Google Groups "GoogleFileService" group.
To post to this group, send email to google-fi...@googlegroups.com.
To unsubscribe from this group, send email to google-file-ser...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-file-service?hl=en.

tytung

unread,
May 13, 2010, 12:11:07 AM5/13/10
to GoogleFileService
Sorry, I am not familiar with Struts 1.
You must make sure that Struts 1 is compatiable with "Apache Commons
FileUpload Streaming API" which is required by Google App Engine.


On May 12, 10:59 pm, Lukasw44 <gnate...@gmail.com> wrote:
> Hello i use netbeans and struts1 and I have exception because in
> struts library I have coommon-fileupload-1.1.1
> but if i delete this library and deploy it your library common-
> fileupload1.2.1 i have exception
>
> Problem accessing /upload. Reason:
>
> org.apache.commons.fileupload.servlet.ServletFileUpload.getItemIterator(Lja­vax/
> servlet/http/HttpServletRequest;)Lorg/apache/commons/fileupload/
> FileItemIterator;
>
> Caused by:
>
> java.lang.NoSuchMethodError:
> org.apache.commons.fileupload.servlet.ServletFileUpload.getItemIterator(Lja­vax/
Reply all
Reply to author
Forward
0 new messages