在使用春季檔案上傳功能上傳檔案時,我收到以下異常。春季檔案上傳異常
試圖上傳291 KB jpg文件。
對於小於50 kb的文件,它工作正常。以下是豆條目
<bean id="fileUploadController" class="com.businesscaliber.controller.FileUploadController">
<property name="commandClass" value="com.businesscaliber.bean.FileUploadBean"/>
<property name="formView" value="admin.do"/>
<property name="successView" value="admin.do"/>
</bean>
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<!-- one of the properties available; the maximum file size in bytes -->
<property name="maxUploadSize" value="100000"/>
</bean>
請幫
嗨,我已經更新的春天2.5罐子
使用Spring 2.0中得到同樣的錯誤
11:45:29,562 INFO [STDOUT] 147375 [http-localhost%2F127.0.0.1-9090-3] ERROR org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/businesscaliber].[businesscaliber] - Servlet.service() for servlet businesscaliber threw exception
javax.servlet.ServletException: Circular view path [exceptionController.do]: would dispatch back to the current handler URL [/businesscaliber/exceptionController.do] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
Privious異常罐子後
1782687 [http-localhost%2F127.0.0.1-9090-3] ERROR org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/businesscaliber].[businesscaliber] - Servlet.service() for servlet businesscaliber threw exception
java.lang.StackOverflowError
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215)
at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544) 2010-02-04 16:43:31,406 INFO [STDOUT] a:544)
「緊急」意味着什麼;這不是支持熱線。 – 2010-02-04 10:47:32
我們需要兩行以上的堆棧跟蹤來診斷堆棧溢出 – skaffman 2010-02-04 11:09:58
請檢查日誌已發佈 – Vicky 2010-02-04 11:15:08