我不,當我使用下面的行RMI錯誤
FileItemIterator it = servletFileUpload.getItemIterator(request);
我明白了,當我使用下面的行
List fileItemsList = servletFileUpload.parseRequest(request);
他們如何不同,如何爲RMI相關得到的錯誤到servletFileUpload.parseRequest(request);?
錯誤: 產生的原因:
java.lang.NoClassDefFoundError: java.rmi.server.UID is a restricted class. Please see the Google App Engine developer's guide for more details.
at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
at org.apache.commons.fileupload.disk.DiskFileItem.(DiskFileItem.java:103)
at org.apache.commons.fileupload.disk.DiskFileItemFactory.createItem(DiskFileItemFactory.java:196)
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:358)
at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
at morefile.CopyOfUploadApp.doPost(CopyOfUploadApp.java:147)
語境: 使用的谷歌應用程序的Apache公地LIB文件上傳應用程序。
thx thimmaya,tht正是我所期待的 – dhaval 2009-11-17 15:43:42
第一個鏈接並沒有告訴任何事情。它看起來已經死了 – 2012-08-04 14:32:51