關於tapestry的upload控制元件的問題?

baoqf發表於2004-03-19
按照tapestry自己的例子(http://jakarta.apache.org/tapestry/doc/ComponentReference/Upload.html)測試時出現如下錯誤,不知問題出在哪裡;出錯如下;
HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.NoSuchMethodError: org.apache.commons.fileupload.FileUpload.parseRequest(Ljavax/servlet/http/HttpServletRequest;IILjava/lang/String;)Ljava/util/List;
org.apache.tapestry.multipart.DefaultMultipartDecoder.decode(DefaultMultipartDecoder.java:191)
org.apache.tapestry.request.RequestContext.(RequestContext.java:196)
org.apache.tapestry.ApplicationServlet.createRequestContext(ApplicationServlet.java:345)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:228)
org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:367)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


note The full stack trace of the root cause is available in the Tomcat logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.14

相關文章