异常
wdgkw
这个作者很懒,什么都没留下…
展开
-
出现Error calling Connection.prepareStatement异常
控制台出现:Error calling Connection.prepareStatement该异常时,一般把windows防火墙给关掉原创 2014-12-16 16:56:11 · 4998 阅读 · 0 评论 -
idea中Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner
idea中Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunnerjava.lang.OutOfMemoryError: PermGen space修改TOMCAT_HOME/bin/catalina.sh 在“echo "Using CATALINA_BASE: $CATALINA_BASE"”原创 2016-08-03 10:57:50 · 4367 阅读 · 0 评论 -
cannot be opened because it does not exist
使用maven创建web工程,将Spring配置文件applicationContext.xml放在src/resource下,用eclipse编译时提示class path resource [applicationContext.xml] cannot be opened because it does not exist错误:http://blog.csdn.net/imlm原创 2016-07-15 09:37:25 · 2421 阅读 · 1 评论 -
ajax请求,返回404错误
前台返回:Request URL:http://localhost:82/fro/searchAccount.doRequest Method:POSTStatus Code:404 Not Found解决:controller层 @ResponseBody不能少@ResponseBody@RequestMapping("searchA原创 2016-07-22 14:34:24 · 1378 阅读 · 0 评论 -
Dependency annotations:
com...biz.JobTaskService -本机过滤原因Error creating bean with name 'fNaQutz': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Co原创 2015-11-19 11:12:33 · 9637 阅读 · 1 评论 -
Element 'beans' cannot have character [children], because the type's content type is element-only.
配置文件中,相邻的bean之间有其他字符原创 2015-11-03 10:28:20 · 1675 阅读 · 0 评论 -
eclipse新建项目出现两个红点
Description ResourcePath LocationType Unbound classpath container: 'JRE Sy选中项目右键build path 选择library 选择对应的jre版本原创 2015-10-31 23:34:36 · 3966 阅读 · 0 评论 -
sql异常
and o.user_id=#{user_id} o.user_id='ggg'-----------------o.user_id=ggg and o.user_id=${user_id}原创 2015-11-11 10:01:30 · 348 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: org/springframework/dao/support/DaoSupport:
java.lang.NoClassDefFoundError: org/springframework/dao/support/DaoSupport:增加下面的jar:org.springframeworkspring-dao2.0.1原创 2015-10-26 13:50:03 · 1162 阅读 · 0 评论 -
org.springframework.jdbc.UncategorizedSQLException:
org.springframework.jdbc.UncategorizedSQLException: ### Error updating database. Cause: java.sql.SQLException: Incorrect decimal value: '' for column 'endnav' at row 1### The error may involve co原创 2015-10-26 14:02:42 · 3688 阅读 · 0 评论 -
White spaces are required between publicId and systemId.异常
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:util="http://www.springframework.org/schema/util"xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframe原创 2015-06-12 22:09:02 · 5455 阅读 · 0 评论 -
spring异常
2015-6-12 12:59:09 org.springframework.context.support.AbstractApplicationContext prepareRefresh信息: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@b815859: startup dat原创 2015-06-12 13:03:09 · 894 阅读 · 0 评论 -
没有返回值提示
没有返回值:Type mismatch: cannot convert from void to int原创 2015-05-18 12:56:45 · 765 阅读 · 0 评论 -
SID
错误:ORA-12505, TNS:listener does not currently know of SID given in connect desc连接窜中SID值为:orcl 则 private String jdbcUrl = "jdbc:oracle:thin:@localhost:1521:orcl";而不是private String jdbcUrl = "jdbc:ora原创 2015-05-11 18:14:10 · 267 阅读 · 0 评论 -
MyEclipse中解决jdk内存溢出
jdk内存溢出:严重: Error processing requestjava.lang.OutOfMemoryError: PermGen spacejdk内存溢出解决办法:Pfeferences-》MyEclipse->Servers->Tomcat即可:-Djava.awt.headless=true -Dfile.encoding=GBK -server -Xms51原创 2014-12-11 17:51:25 · 593 阅读 · 0 评论 -
debug模式进行调试时出现:reason:absent line number informat错误
找到Project--->Properties---->java Compiler---->classfile Generation 如果 Add line number...的复选框下面没有选中,则勾选,点击Apply后, 假如你之前的是勾选上了,那么请你把勾去掉 apply一下,然后在打开把勾又勾上一遍。在apply,最后点击ok原创 2014-12-25 15:18:57 · 1570 阅读 · 0 评论 -
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory
Cause: org.apache.commons.dbcp.SQLNestedException: --- Cause: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory Caused by: org.apache.commons.dbcp.SQLNestedExceptio原创 2014-12-24 17:14:23 · 994 阅读 · 0 评论 -
List<object[]>遍历出错
List报错:java.lang.ClassCastException: java.util.HashMap cannot beList>//{permission_parent=1, permission_name=新增新闻, permission_url=admin/index}//{permission_parent=1, permission_name=修原创 2017-02-27 21:36:44 · 1464 阅读 · 0 评论