
Exception
文章平均质量分 60
cswhale
这个作者很懒,什么都没留下…
展开
-
Document is invalid: no grammar found. at (null:3:8)
严重: Document is invalid: no grammar found. at (null:3:8)org.xml.sax.SAXParseException: Document is invalid: no grammar found. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createS转载 2012-08-22 14:53:55 · 3220 阅读 · 1 评论 -
org.apache.subversion.javahl.ClientException: Previous operation has not finished
1.问题eclipse使用SVN出现异常:org.apache.subversion.javahl.ClientException: Previous operation has not finished; run 'cleanup' if it was interrupted 2.解决方法右键项目——Team——Refresh/Cleanup原创 2015-08-20 11:30:08 · 30523 阅读 · 7 评论 -
ireport 找不到子报表:Could not load object from location
ireport中提供了自带属性$P{SUBREPORT_DIR}当我们新建.jrxml文件时默认$P{SUBREPORT_DIR}="存放当前设计的.jrxml文件的文件夹绝对路径"此时需注意应把$P{SUBREPORT_DIR}值设置为$P{SUBREPORT_DIR}="",这表示获得当前运行环境的.jrxml文件的上级文件绝对路径如果不进行此设置则部署到运行环境时会以设计时的转载 2014-03-13 17:23:14 · 5141 阅读 · 1 评论 -
a different object with the same identifier value was already associated with the session
HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.springframework.orm.hibe原创 2013-05-11 22:57:15 · 2035 阅读 · 0 评论 -
org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; nested
HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.springframework.dao.Data原创 2013-05-11 21:48:49 · 3793 阅读 · 0 评论 -
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role:no sessi
在双向多对多映射配置中遇到此问题,通过在两边把mapping文件里面的set那部分的lazy设置为false,问题得到解决。原创 2013-05-11 13:39:53 · 1200 阅读 · 0 评论 -
struts2校验再提交多条提示信息
使用Struts2 验证框架,验证信息重复多次出现。 第一次提交表单。某个数据不符合规则,就会出现一条错误信息。再次提交,上次显示的错误信息不消失,又多出一条一模一样的错误信息。提交几次,就会多显示几条一模一样的错误信息。 试着将 input 改为 重定向 validate.jsp转载 2013-05-16 22:30:09 · 1406 阅读 · 0 评论 -
Could not create JarEntryRevision
前些天刚好开始Struts的学习,但是在配置Struts 2的时候就遇到了很大的障碍,我使用的Struts 2版本是2.2.1(即Struts 2.2.1),我参考了《精通J2EE》(第二版)里的有关Struts 2的配置内容,该书使用的是Struts 2.0.9)。我首先从Struts 2.2.1的lib文件下复制了“freemarker-2.3.16.jar,ognl-3.0.jar,stru转载 2012-02-22 22:29:53 · 6863 阅读 · 13 评论 -
java.lang.Exception: Socket bind failed: [730048]
启动tomcat是遇到java.lang.Exception: Socket bind failed: [730048].打开任务管理器,找到javaw.exe,结束进程,启动tomcat成功。原创 2013-04-30 10:16:14 · 769 阅读 · 0 评论 -
org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
异常信息如下:2010-2-4 11:53:55 org.apache.catalina.startup.HostConfig checkResources信息: Reloading context [/ssh]2010-2-4 11:53:55 org.apache.catalina.core.ApplicationContext log信息: Closing Spring原创 2013-04-18 20:57:43 · 37965 阅读 · 0 评论 -
tomcat启动时出现错误
Exception invoking :Caused by: java.lang.ClassNotFoundException: org.apache.struts2.util.ObjectFactoryDestroyable后来查了资料,原来是缺少struts2的jar包,可以把这些jar包拷贝到 {tomcat}\lib (6.0) {tomcat}\common\lib原创 2013-04-17 22:37:39 · 1061 阅读 · 0 评论 -
编码设置导致了eclipse/myeclipse代码无法保存
转载自:http://jingyan.baidu.com/article/e5c39bf56524a539d76033d2.html由于编码设置的问题,导致了代码无法保存。那么该怎样解决编码错误无法保存的问题呢?工具/原料Myeclipse工作平台步骤/方法转载 2013-04-17 10:44:27 · 3287 阅读 · 0 评论 -
java.util.ConcurrentModificationException
今天在删除对象list中的一个对象的时候,报了这个异常:for(CollectShare lc:collectList){ if (collectShare.getId().equals(lc.getId())) { collectList.remove(lc); }}后来查了,给出的解释如下: 关于Iterator的工作机制。Iterator是工原创 2016-10-19 17:54:00 · 477 阅读 · 0 评论