读书人

一些常见的错误

发布时间: 2012-11-07 09:56:10 作者: rapoo

一些常见的异常

1.Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
没有Action在页面上的form中没有Action

2.java.lang.IllegalArgumentException
在form中Action中少了enctype="multipart/form-data"

3.Servlet execution threw an exception
service错误

4.Value '0000-00-00' can not be represented as java.sql.Date
数据库里的时间类型不能为以上形式

5.Unhandled Exception thrown: class java.lang.NullPointerException
javax.servlet.ServletException

6.org.apache.catalina.core.StandardContext.loadOnStartup() 3919 - Servlet /vnv threw load() exception
在struts.config加载过程中没有找到相应的类

7.Cannot forward after response has been committed

8. Connection timed out: connect
数据库联不上

8. Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
struts中的<html:》标签不能对应

1 楼 ddandyy 2007-05-16 突然发现有很多ID是 q...q.._0000 的

读书人网 >软件架构设计

热点推荐