![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Dev Error
Wuaner
性格随和 爱好广泛 生活严谨 工作认真 受教育程度良好
展开
-
java.net.SocketException: Unexpected end of file from server
[quote]Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://www.xxx.com/rest/v2/network/msg/dmails.json":Unexpected end of file from server; neste...原创 2014-06-27 10:55:14 · 397 阅读 · 1 评论 -
myeclipse报错: Unable to install breakpoint in ...
[url]http://solveme.wordpress.com/2008/08/27/unable-to-install-breakpoint-due-to-missing-line-number-attributes/[/url]原创 2011-05-04 02:44:48 · 35 阅读 · 0 评论 -
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务
ORA-12514: TNS: 监听程序当前无法识别连接描述符中请求的服务当连接oracle时报如上错误时,可以修改listener.ora 来解决该问题:[b][url]http://www.cnblogs.com/zyk/archive/2007/10/31/944667.html[/url][/b]修改前:[quote]SID_LIST_LISTENER = (...原创 2011-05-02 16:29:03 · 37 阅读 · 0 评论 -
struts2报错:Could not resolve matching constructor 与 通过form提交的方式向后台传数组...
后台Action中有String数组expPros:[code="java"]private String[] expPros;///get set[/code]在form表单中试图通过以下方式向action中expPros赋值时:[code="html"] [/code]结果报错:[quote]org.springframework.beans.facto...原创 2011-01-15 01:36:14 · 131 阅读 · 0 评论 -
Oracle exp 报错:PLS-00302: component 'SET_NO_OUTLINES' must be declared
EXP-00056: 遇到 ORACLE 错误 6550ORA-06550: line 1, column 41:PLS-00302: component 'SET_NO_OUTLINES' must be declaredORA-06550: line 1, column 15:PL/SQL: Statement ignoredEXP-00000: 导出终止失败原因是...原创 2010-12-30 22:05:57 · 127 阅读 · 0 评论 -
ora-08002:sequence <SEQ_NAME>.currval is not yet defined in this session
ORA-08002 sequence string.CURRVAL is not yet defined in this sessionCausesequence CURRVAL has been selected before sequence NEXTVALActionselect NEXTVAL from the sequence before selecti...原创 2010-09-10 13:51:47 · 147 阅读 · 0 评论 -
eclipse + tomcat 开发问题
对eclipse中tomcat做clean时报:[color=red]resource is out of sync with the file system[/color]原因、解决方法:这是文件系统不同步的问题,是因为在eclipse之外对工程中的resource进行修改引起的;但是,有时没有在eclipse之外进行修改,也会报类似的错误。解决办法:需要手动刷新一下资源管理器。...原创 2010-02-09 14:40:49 · 243 阅读 · 0 评论 -
JSON: property "xxx" has no getter method in class "..."
Exception in thread "main" net.sf.json.JSONException: java.lang.NoSuchMethodException: Property 'name' has no getter method解决:声明bean为public class xxx,必须是public,我用默认类型(class xxx)都不行...原创 2009-09-02 13:11:26 · 48 阅读 · 0 评论 -
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context[code="error"]Report System initing......[2010-07-28 12:33:55] runqianReportLogger : [ERROR] - Name jdbc is not bound i...原创 2010-07-28 12:16:31 · 68 阅读 · 0 评论 -
java 报错: java.util.NoSuchElementException
出错的代码:[code="java"]Iterator iter = FileUtils.iterateFiles(dicFile, regexFilter, null); while(iter.hasNext()) { prePicInfoMap.put(iter.next().getName(), Constant.DISPCONTENT_LOGO_PATH + iter.n...原创 2011-05-08 20:19:11 · 86 阅读 · 0 评论 -
jquery报错: '$.DATA(...).SETTINGS' 为空或不是对象
How to perform function after Jquery (window).load is complete:[url]http://stackoverflow.com/questions/5416209/how-to-perform-function-after-jquery-window-load-is-complete[/url][quote][code="js"]$(w...原创 2011-05-10 21:45:24 · 142 阅读 · 0 评论 -
Maven:No goals have been specified for this build
执行 mvn 命令时,指定goals避免该错误。[url]http://www.jrmh.net/exception/showexception.asp?ID=249[/url][url]https://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException[/url]...原创 2012-09-25 10:54:42 · 70 阅读 · 0 评论 -
Hadoop 异常 总结
[b]Directory /tmp/hadoop-lee/dfs/name is in an inconsistent state: storage directory DOES NOT exist or is NOT accesible[/b]原因:[url]http://lucene.472066.n3.nabble.com/Directory-tmp-hadoop-roo...原创 2013-01-08 10:35:22 · 49 阅读 · 0 评论 -
MockHttpServletRequest + Controller @RequestMapping 单元测试之 NullPointerException
MockHttpServletRequest 测试spring的Controller,如果Controller的类名和要调用的方法名上都写有@RequestMapping:[code="java"]@Controller@RequestMapping("email")public class EmailRest extends AbstractController { @...原创 2012-11-27 17:51:55 · 293 阅读 · 0 评论 -
Spring+BoneCP+MyBatis: maxConnectionsPerPartition为1导致的junit一直停留在获取conn阶段的问题...
Spring+BoneCP+MyBatis下, 如果applicationcontex.xml中的boneCP datasource 最大连接数maxConnectionsPerPartition设为1且partitionCount也为1:[code="xml"] ...原创 2012-10-20 00:11:48 · 209 阅读 · 0 评论 -
IE下cloneNode(true)一个TR取其.cells[index]报 'cells.[index].firstChild'为空或不是对象 ...
下列js代码,报“[b][color=red]'cells.4.firstChild'为空或不是对象[/b][/color]”:[code="js"]var templateRow = copiedTable.firstChild.lastChild;var newRow = templateRow.cloneNode(true);newRow.style.display = "b...原创 2010-11-25 17:12:10 · 124 阅读 · 0 评论 -
ORA-01795: 列表中的最大表达式数为 1000
Oracle 报错 :ORA-01795: 列表中的最大表达式数为 1000ORA-01795 : Maximum number of expressions in a list is 1000做删除时采用的是in语法,oracle in 语法最多支持的条目数是1000;just so。...原创 2011-06-27 10:55:16 · 74 阅读 · 0 评论 -
Hibernate : addJoin时报错: QueryException: could not resolve property
对象A和B,都是被hibernate管理的PO。A中有对B的引用b;而这个属性b是被标为@Transient的:[code="java"]@Transient public B getB() { return b; }[/code]在使用原生sql做对A、B对应表做连查并调用:[code="java"].addEntity("A对应表的sql别名", A.class).a...原创 2011-05-25 10:29:28 · 95 阅读 · 0 评论 -
Attribute "short-circuit" must be declared for element type "validator".
使用struts2验证是报错:[quote]Attribute "short-circuit" must be declared for element type "validator".[/quote]解决办法:将--validation.xml的头:[code="xml"][/code]改为:[code="xml"][/code][u...原创 2010-10-15 13:24:03 · 43 阅读 · 0 评论 -
慎用 Oracle Float 类型
遇到个非常奇怪的问题:两个中间表表A和表B,用不同的结构对几个原始表中的收入等数据进行了汇总;按理说,俩表按同样的某个Col做分组后查询出的收入income应该是相同的!可是对表A和表B中数据做按某列Col的分组后,得出的收入值income差5块钱:分别对俩表执行sql的结果是俩表按Col分组的income表B比表A少5块钱。表A中income为Number类型;表B中inco...原创 2010-01-27 19:13:54 · 119 阅读 · 0 评论 -
严重: Error in dependencyCheck java.io.IOException:
严重: Error in dependencyCheck java.io.IOException:java.io.IOException: invalid header field可能是checkout下来的工程的webRoot/META-INF/MANIFEST.MF文件多了几行或几个空格,去掉之。Manifest-Version: 1.0Class-Path:[c...2009-02-25 10:34:31 · 124 阅读 · 0 评论 -
struts2 标签 s:iterator 和 s:param 不可以结合使用
用以下方法结合使用:[code="jsp"] [/code]报空指针;参见:[url]http://stackoverflow.com/questions/872375/struts2-adding-parameters-from-a-map-to-a-url-tag[/url][ur...2010-04-14 20:53:19 · 45 阅读 · 0 评论 -
java.sql.SQLException: 对只转发结果集的无效操作: last
java.sql.SQLException: 对只转发结果集的无效操作: last at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145...原创 2009-06-12 17:27:05 · 46 阅读 · 0 评论 -
奇怪的BIRT Chart NullPointerException
使用的是birt2.5;birt designer中预览chart报表没问题;部署到tomcat中访问的时候报NullPointerException:[quote]java.lang.NullPointerException at org.eclipse.birt.chart.reportitem.ChartReportItemImpl.doCompatibility(ChartRe...原创 2009-11-12 09:18:40 · 84 阅读 · 0 评论 -
No object in the CompoundRoot has a publicly accessible property named 'index2'
在设置webwork的devMode为true后,启动时出现下列异常:[quote]com.opensymphony.xwork.interceptor.ParametersInterceptor - Developer Notification (set webwork.devMode to false to disable this message):No object in th...原创 2009-11-11 10:59:13 · 55 阅读 · 0 评论 -
BIRT:Invalid javascript expression: dataSetRow["id"]
发现项目中同时使用了 JS_1.6R2.jar 和 js.jar, 这两个jar中的class 完全冲突,都是关于org.mozilla.javascript.xxxx,删除js_1.6R2.jar,只保留Birt 自带的 js.jar, 故障排除。http://www.blogjava.net/vcok/archive/2009/09/14/292744.html#295065...原创 2009-11-03 19:56:03 · 166 阅读 · 0 评论 -
BIRT: validateXml 严重: Not found choice: any
错误信息:[code="error"]org.eclipse.birt.report.model.metadata.ChoicePropertyType validateXml严重: Not found choice: any或org.eclipse.birt.report.model.metadata.ChoicePropertyType validateXmlS...原创 2009-11-03 18:10:10 · 54 阅读 · 0 评论 -
解决form表单中只有一个文本框时回车提交的问题
在form表单中如果只有一个text文本框时,在上面敲回车时,就会自动提交.要解决这个问题可以 再增加一个text文本框,并将其样式设置为隐藏,即可:2009-04-07 10:58:24 · 77 阅读 · 0 评论 -
Spring:FactoryBeanNotInitializedException
配个bean,碰到个奇怪的问题:[quote]Caused by: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'orderService': org.springframework.beans.factory.[b]FactoryBean...原创 2009-09-21 19:27:28 · 345 阅读 · 0 评论 -
SVN:Attempted to lock an already-locked dir
svn cleanup — 递归清理工作拷贝。执行clearup操作,解除锁定。2009-03-23 11:17:46 · 62 阅读 · 0 评论 -
不要在ibatis Map文件的sql中写分号!
碰到一个奇怪的问题,断点跟踪到getSqlMapClientTemplate().queryForList(...)后,再往下一步的时候程序不知道跑哪儿去了,后台也不报错!经检查,是因为在Map文件中拼装的sql的结尾有个";",去掉,顺利debug完。记此勿再犯。...2010-03-30 08:10:13 · 63 阅读 · 0 评论 -
对象不支持此属性或方法
经历一:调用JS时出现 “对象不支持此属性或方法” :( [code="html"]选座位[/code]明明JS中有定义selectSeat(),却老是提示[color=red]对象不支持此属性或方法[/color]后得知是因为名字重复的原因,将function selectSeat()改为chooseSeat()问题解决。记下来,下次勿再为此所扰...2009-01-09 22:37:00 · 408 阅读 · 0 评论 -
UnsupportedClassVersionError & eclipse下@override报错
碰到了这么个问题:[code="error"][14:30:26.244] javax.servlet.ServletException: Unable to instantiate Action, com.ambow.upgrade.extraction.action.DataExtractAction, defined for 'syncAction' in namespace '/...原创 2009-08-06 15:38:44 · 43 阅读 · 0 评论 -
Invalid SQL statement or JDBC escape, terminating ''' not found
原因:某条记录的某个字段的值包含 单引号 '解决办法:用两个单引号代替一个单引号 如:查找用户名为 [b][color=red]'chenxue[/color][/b] 的用户:[code="sql"]--错误的写法select * from user where LoginName=''chenxue'--正确的写法select * from ...原创 2009-08-05 14:46:56 · 354 阅读 · 0 评论 -
Based on configured schedule, the given trigger will never fire.
[code="error"]org.quartz.SchedulerException: Based on configured schedule, the given trigger will never fire. at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:745) at org.quar...原创 2009-07-31 16:54:30 · 81 阅读 · 0 评论 -
SVN:This client is too old to work with working copy '.'; please get a newer Sub
项目中使用的是1.4.7,作为eclipse的插件装的;后来又在机子上装了个TortoiseSVN 1.6.5。遇到的问题:[quote]This client is too old to work with working copy 'D:\MyEclipseWorkspace\projectName\WebRoot\WEB-INF\lib'; please get a newer Su...原创 2010-01-13 15:08:53 · 60 阅读 · 0 评论 -
jtds错误:java.sql.SQLException: I/O Error: SSO Failed: Native SSPI library not loa
[code="java"]java.sql.SQLException: I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property. at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:611)...原创 2009-07-23 09:37:18 · 198 阅读 · 0 评论 -
No Hibernate Session bound to thread, and configuration does not allow creation
No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here出错原因很简单:没有给操作数据库的service方法配置事务。以我遇到的例子,事务代理工厂bean配置如下:[code="java"] ...原创 2009-12-28 16:47:15 · 68 阅读 · 0 评论 -
ConcurrentModificationException
深入探讨Iterator模式:http://gceclub.sun.com.cn/yuanchuang/week-14/iterator.html关于ConcurrentModificationException:http://www.blogjava.net/EvanLiu/archive/2008/08/31/224453.htmlapi描述:http://gcec...原创 2009-07-02 18:49:53 · 36 阅读 · 0 评论 -
java.lang.OutOfMemoryError: PermGen space
TOMCAT\bin\catalina.bat,加入:...echo Using CATALINA_BASE: %CATALINA_BASE%[b][color=red]set JAVA_OPTS=%JAVA_OPTS% -server -XX:PermSize=512m -XX:MaxPermSize=1024m[/color][/b]echo Using CATAL...2009-01-20 18:16:42 · 39 阅读 · 0 评论