exception
文章平均质量分 77
Geven7
每週都有星期柒~
展开
-
Communications link failure due to underlying exception
数据库为Mysql,当登录网站操作时出现以下异常信息: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: ** BEGIN NESTED EXCEPTION ** com.mysql.jdbc.Communicat...原创 2012-06-13 14:21:17 · 145 阅读 · 0 评论 -
java.lang.RuntimeException: Invalid action class configuration that references a
sult里找不到 或者是表单提交的action没配置2。spring与struts整合后再spring中配置的action没加scope="prototype"3。在setXXX()时报错。于是在页面上看到隐藏控件的value属性没有写上双引号,加上双引号问题解决。4。也就是我的项目出的问题原因:页面传了包含文字的double值,action里获取的时候就报错了。5。还有一个和上面一样传参问题,就是form里的action里面有设置pageno2012-06-23 21:07:39 · 146 阅读 · 0 评论 -
ognl.MethodFailedException: Method "setXxx" failed for object 集結
(1)just change the logging level. 改變日誌等級 log4j.properties: # Struts OgnlUtil issues unimportant warnings log4j.logger.com.opensymphony.xwork2.util.OgnlUtil=error log4j.logger.com.opensymp...原创 2012-10-15 11:45:36 · 227 阅读 · 0 评论 -
java.lang.RuntimeException: Invalid action class configuration that references a
今天突然发现此异常。网上找了下,有很多原因就集合下。1。可能存在的问题是 struts.xml对应的这个action 没有配好 例如 action里的return的内容在 result里找不到 或者是表单提交的action没配置2。spring与struts整合后再spring中配置的action没加scope="prototype"3。在setXXX()时...2012-06-23 21:07:39 · 102 阅读 · 0 评论 -
java.lang.IndexOutOfBoundsException: Remember that ordinal parameters are 1-base
原因:1.参数用“?”时 ,周围不能加单引号,否则被当作字符串处理了原创 2012-07-17 10:59:31 · 101 阅读 · 0 评论 -
javax.el.PropertyNotFoundException: Property 'xxx' not found on type String
<tag:forEach var="currentFood" items="sessionScope.foods "varStatus="status"> </tag:forEach> Stacktrace:] with root causejavax.el.PropertyNotFoundException: Property 'xxx' not found...原创 2012-03-16 18:10:55 · 146 阅读 · 0 评论 -
org.apache.catalina.LifecycleException: Failed to start component
org.apache.catalina.LifecycleException: Failed to start component报错原因:1.注意web.xml的过滤器的mapping的url-pattern。我的项目原因是因为点号前面没有加反斜杠。在网上看到也有人在最前面忘加斜杠。大多是表达式写错了。...原创 2012-07-20 12:15:29 · 94 阅读 · 0 评论 -
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space Heap size 设置 JVM堆的设置是指java程序运行过程中JVM可以调配使用的内存空间的设置.JVM在启动的时候会自动设置Heap size的值, 其初始空间(即-Xms)是物理内存的1/64,最大空间(-Xmx)是物理内存的1/4。可以利用JVM提供的-Xmn -Xms -Xmx等选项可 ...原创 2012-03-22 16:24:10 · 133 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [com/springContext-xxx.xml]: Invocation of init method failed; ne...原创 2012-08-20 17:25:52 · 78 阅读 · 0 评论 -
Batch update returned unexpected row count from update [0]
转至:http://www.cnblogs.com/Byrd/archive/2012/3/26.html1.Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1Batch update returned unexpected row count fro...原创 2012-08-21 16:01:02 · 580 阅读 · 0 评论 -
org.apache.jasper.JasperException: Unable to compile class for JSP:
转至:http://saber5d.blog.163.com/blog/static/1279987782010119113746918/type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this reque...原创 2012-08-21 22:50:08 · 102 阅读 · 0 评论 -
org.dbunit.dataset.NoSuchColumnException:xxx.xxx
hibernate 配置文件 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dt...原创 2012-08-29 10:56:58 · 573 阅读 · 0 评论 -
No unique bean of type [com.xxx.service.Ixxx] is defined: expected single matchi
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.xxx.service.impl.TestxxxImpl': Unsatisfied dependency expressed through bean property 'xxx': ...原创 2012-08-29 14:22:08 · 24445 阅读 · 0 评论 -
hibernate配置二级缓存出现的问题
(1)解决方案:少了commons-logging-1.1.1.jar这个包了Exception in thread "main" java.lang.ExceptionInInitializerErrorat cn.sjg.hibernate.CacheTest.addUser(CacheTest.java:32)at cn.sjg.hibernate.CacheTest...原创 2012-10-14 22:07:46 · 199 阅读 · 0 评论