
错误日志
iteye_20054
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
js 写if语句时候的错误
这里的写法很严格...if(){}else if(){}else{}原创 2011-05-20 13:03:40 · 448 阅读 · 0 评论 -
hibernate解决延迟加载 [main] ERROR org.hibernate.LazyInitializationException - could n
[code="java"][main] ERROR org.hibernate.LazyInitializationException - could not initialize proxy - no Session public Users findById(Long id){ Session session =HibernateSessionFactory.ge...原创 2011-01-10 21:13:17 · 125 阅读 · 0 评论 -
class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
Spring ApplicationContext.xml中报class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">错误时缺少-->BuildPath-->Library-->MyEclipse中Spring2.0 AOP LibrariesSpring2.0 core Libraries...原创 2011-01-21 22:52:08 · 200 阅读 · 0 评论 -
事物没有提交
此处差一个点原创 2011-01-22 11:07:44 · 145 阅读 · 0 评论 -
id to load is required for loading
[code="java"] id to load is required for loading由于update时没有传到值在action中[code="java"] private Long id; public Long getId() { return id; } public void setId(Long id) { this.i...原创 2011-01-22 22:07:53 · 242 阅读 · 0 评论 -
java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init
多了一个包 asm原创 2011-01-23 16:45:49 · 108 阅读 · 0 评论 -
The server encountered an internal error () that prevented it from fulfilling th
spring的applicationContext.xml改之前无法删除数据[code="xml"] [/code]把del*改成delete*改之后[code="xml"] [/code]...原创 2011-01-23 20:09:01 · 239 阅读 · 0 评论 -
struts2验证问题
[code="xml"]起名不对 应该对应上SaveAction.java |对应 继承前一个 SaveAction-validation.xmluser |对应 User-user-validation.xml ...原创 2011-01-24 20:00:45 · 127 阅读 · 0 评论 -
struts2验证信息重复出现
[code="xml"]解决的方法:把applicationContext.xml里action的scope配置成prototype,这是一种方法,因为每次提交都不是同一个的action实例。结果是:问题解决了![/code]...原创 2011-01-24 20:01:56 · 120 阅读 · 0 评论 -
Parameters: Invalid chunk ignored.
[quote]警告:Parameters:Invalid chunk ignored原因:在链接参数中存在一定的问题和业务逻辑没关系,比如说在一个链接http://url?param1=value1&redundance=rValue,其中redundance变量没有在业务逻辑中使用。解决方法:方法1:在业务逻辑中使用所有传入的值;方法2:去除冗余参数;还有...原创 2011-04-02 14:21:44 · 122 阅读 · 0 评论 -
Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
Cannot load JDBC driver class 'com.mysql.jdbc.Driver'将driver包放到lib下原创 2011-04-08 10:22:37 · 112 阅读 · 0 评论 -
update语句
[code="java"]/** * 编辑学员信息 * 姓名 常用邮箱 email 性别sex 婚恋状态 marry 生日birthday 血型blood 家乡 居住地 QQ MSN * * @param int * @return Boolean */ public boolean updateSpacefieldByUid(S...原创 2011-04-27 10:17:32 · 182 阅读 · 0 评论 -
错误Caused by: Action class [com.zyl.action.LoginAction] does not have a public no
Caused by: Action class [com.zyl.action.LoginAction] does not have a public no-arg constructor - action - file:/C:/Tomcat%206.0/webapps/IndependenceDay/WEB-INF/classes/struts.xml:5:65Action中没有空的...原创 2011-01-06 18:43:21 · 127 阅读 · 0 评论 -
错误Caused by: Action class [com.zyl.action.LoginAction] does not have a public no
Caused by: Action class [com.zyl.action.LoginAction] does not have a public no-arg constructor - action - file:/C:/Tomcat%206.0/webapps/IndependenceDay/WEB-INF/classes/struts.xml:5:65Action中没有构造...原创 2011-01-06 18:22:57 · 199 阅读 · 0 评论 -
No suitable driver found for jdbc[转]
一是:连接URL格式出现了问题(Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/XX","root","XXXX") 二是:驱动字符串出错(com.mysql.jdbc.Driver) 三是Classpath中没有加入合适的mysql_jdbc驱动 经过我的仔细检查,这...原创 2011-07-05 10:25:23 · 160 阅读 · 0 评论 -
Access restriction: The type BASE64Decoder is not accessible due to restr[转]
在Eclipse中编写用java代码时用到了BASE64Decoder,import sun.misc.BASE64Decoder;可是Eclipse提示:Access restriction : The type BASE64Decoder is not accessible due to restriction on required library C:\Programfiles\j...原创 2011-07-05 11:24:47 · 183 阅读 · 0 评论 -
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space可以尝试办法:A.修改Tomcat/bin/catalina.bat,添加如下内容set JAVA_OPTS=-Xms256m -Xmx512m -Djava.awt.headless=true [-XX:MaxPermSize=128M]B.eclipse->windows->prefere...原创 2011-07-29 16:56:32 · 113 阅读 · 0 评论 -
java 错误 “Unable to instantiate default tuplizer....”
今天写junit小测试,出现了这个错误“Unable to instantiate default tuplizer....”,到网上查了下,原来是我的hbm.xml文件中的属性写错了,与实体中的属性不一致。总结下:1.检查hbm.xml的配置文件是否与实体类的一致。2.检查hibernate.cfg.xml文件中配置的hbm.xml文件是否存在,或者是否路径正确。...原创 2010-12-27 15:40:51 · 156 阅读 · 0 评论 -
错误Cannot make a static reference to the non-static method findAllUsers()
今天写junit小测试,出现了这个错误"Cannot make a static reference to the non-static method findAllUsers() from the type DAO"原创 2010-12-28 17:50:09 · 337 阅读 · 0 评论 -
错误:org.hibernate.PropertyValueException: not-null property references a null o
junit 错误org.hibernate.PropertyValueException: not-null property references a null or transient value: com.zyl.po.Card.cardnum at org.hibernate.engine.Nullability.checkNullability(Nullability.j...原创 2010-12-29 18:10:31 · 187 阅读 · 0 评论 -
tomcat内存不足 permGen 永久空间内存错误
permGen 永久空间内存错误tomcat内存不足tomcat6.0 jdk 中加 -XX:PermSize=128m -XX:MaxPermSize=256m14:09 2011-1-2或者该MyEclipse中的myeclipse.ini文件C:\MyEclipse 8.5\myeclipse.ini将-XX:MaxPermSize=256m-XX:Re...原创 2011-01-02 14:22:17 · 100 阅读 · 0 评论 -
错误The operator != is undefined for the argument type(s) long, null
此处报错 if (users.getUsersid() != null)The operator != is undefined for the argument type(s) long, null 通过Ctrl+左键找到错误源private long usersid;public long getUsersid() { return this.usersid;...原创 2011-01-02 18:34:39 · 3704 阅读 · 0 评论 -
很早以前的错误
E:\beta1>javac -d ../U Teacher.javaeclipse 导入工程 java system.library项目-右键-build path-configure build path-libraries,查看一下引用的类库路径。因为你的项目是导入的,所以原来的类库引用的路径不一定跟你的机器一样。要修改一下路径,引用的类没有的就上网找。>echo %...原创 2011-01-02 18:37:33 · 124 阅读 · 0 评论 -
w3c测试 http://w3school.com.cn/quiz
CSS 测验结果:13/20您的回答:1.CSS 指的是?您的回答:Cascading Style Sheets2.在以下的 HTML 中,哪个是正确引用外部样式表的方法?您的回答:<link rel="stylesheet" type="text/css" href="mystyle.css">3.在 HTML 文档中,引用外部样式表的正确位置是?您的...原创 2011-01-05 14:09:34 · 511 阅读 · 0 评论 -
js和Html w3c测试 http://w3school.com.cn/
JS 测验 结果:12/20您的回答:1.我们可以在下列哪个 HTML 元素中放置 Javascript 代码?您的回答:<script>2.写 "Hello World" 的正确 Javascript 语法是?您的回答:document.write("Hello World")3.插入 Javacript 的正确位置是?您的回答:<bod...原创 2011-01-05 14:15:21 · 288 阅读 · 0 评论 -
java.util.ConcurrentModificationException异常
java.util.ConcurrentModificationException异常 java.util.SubList.checkForComodification(AbstractList.java:752) java.util.SubList.listIterator(AbstractList.java:682) java.util.AbstractList...原创 2011-05-17 13:44:51 · 106 阅读 · 0 评论