异常处理集合库
jluzh04140717
不放弃也不勉强、
最坏的结果,不过是大器晚成而已.
展开
-
The valid characters are defined in RFC 7230 and RFC 3986
出现异常:java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 at org.apache.coyote.http11.InternalInputBuffer.par原创 2017-04-16 10:11:06 · 7606 阅读 · 2 评论 -
java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2).
java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2). at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910) at com.mysql.jdbc.PreparedStatement.原创 2017-04-16 10:13:20 · 2041 阅读 · 0 评论 -
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '04140700' for
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate entry '04140700' for key 'PRIMARY'出现数据重复!可以是有输出语句执行了添加操作,后面重复进行添加。原创 2017-04-16 10:14:18 · 1587 阅读 · 0 评论 -
There is no Action mapped for namespace [/] and action name [repassword] associated with context pat
There is no Action mapped for namespace [/] and action name [repassword] associated with context path [].可能是struts有相同的包名原创 2017-04-16 10:15:30 · 616 阅读 · 0 评论 -
java.lang.ClassNotFoundException: com.jdbc.mysql.Driver
java.lang.ClassNotFoundException: com.jdbc.mysql.Driver也可能是驱动写错 正确驱动: private static final String DBDRIVER = “com.mysql.jdbc.Driver”;解决方法: 必须把mysql-connector-java-5.1.7-bin.jar导入到tomcat的lib目录下面! 在j原创 2017-04-16 10:17:12 · 528 阅读 · 0 评论