- 博客(19)
- 收藏
- 关注
原创 org.hibernate.QueryException: could not resolve property:
org.hibernate.QueryException: could not resolve property: account of: entity.KpsysLog [from entity.KpsysLog log where log.account like '%%' and log.table_name like '%%' and log.AuthorityID=0] o
2013-01-18 10:08:21
1479
原创 No result defined for action jsp_entity.SysLog and result success
No result defined for action jsp_entity.SysLog and result success com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:369) com.opensymphony.xwork2.Def
2013-01-12 11:44:33
539
原创 java.lang.IllegalArgumentException: node to traverse cannot be null!
java.lang.IllegalArgumentException: node to traverse cannot be null! org.hibernate.hql.ast.util.NodeTraverser.traverseDepthFirst(NodeTraverser.java:63) org.hibernate.hql.ast.QueryTranslator
2013-01-12 11:33:22
1136
原创 org.springframework.beans.NotWritablePropertyException
org.springframework.beans.NotWritablePropertyException: Invalid property 'kpsyslogservice' of bean class [jsp_entity.SysLog]: Bean property 'kpsyslogservice' is not writable or has an invalid setter m
2013-01-12 11:23:14
595
原创 java.lang.NumberFormatException: For input string: "2013-01-03 15:16:21"
java.lang.NumberFormatException: For input string: "2013-01-03 15:16:21" java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) java.lang.Long.parseLong(Long.java:412
2013-01-03 15:15:51
1696
原创 java.lang.IllegalArgumentException
java.lang.IllegalArgumentException java.util.Date.parse(Date.java:598) jsp_entity.login.execute(login.java:93) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflec
2013-01-03 14:58:52
737
原创 Can not set int field entity.Authority.FatherAuthority to null value
java.lang.IllegalArgumentException: Can not set int field entity.Authority.FatherAuthority to null value sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessor
2013-01-03 14:49:31
4759
原创 Type mismatch: cannot convert from org.hibernate.annotations.CascadeType to javax.persistence.Cascad
Type mismatch: cannot convert from org.hibernate.annotations.CascadeType to javax.persistence.CascadeType 错误原因:包引用错误错误引用:import org.hibernate.annotations.CascadeType;正确引用:import javax.persiste
2012-12-30 21:23:54
2724
1
原创 org.hibernate.AnnotationException: property from @OrderBy clause not found
org.hibernate.AnnotationException: property from @OrderBy clause not found: entity.KpsysLog.account at org.hibernate.cfg.annotations.CollectionBinder.buildOrderByClauseFromHql(CollectionBinder.java:
2012-12-30 16:17:32
1943
原创 org.hibernate.AnnotationException: mappedBy reference an unknown target entity property
org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: entity.KpsysLog.user_table in entity.user_table.kpsyslog at org.hibernate.cfg.annotations.CollectionBinder.bi
2012-12-30 16:08:19
5437
原创 org.hibernate.AnnotationException: @Column(s) not allowed on a @ManyToOne property: entity.KpsysLog.
org.hibernate.AnnotationException: @Column(s) not allowed on a @ManyToOne property: entity.KpsysLog.usert at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1581)
2012-12-30 15:16:17
1334
原创 java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z
java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1912) at org.hibernate.cfg.Annotatio
2012-12-30 13:28:59
623
原创 org.hibernate.AnnotationException: @Column(s) not allowed on a @ManyToOne property: entity.KpsysLog
org.hibernate.AnnotationException: @Column(s) not allowed on a @ManyToOne property: entity.KpsysLog.usert at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1581)
2012-12-30 13:27:19
2848
原创 关于struts2验证框架,在与spring整合后重复输出错误信息的问题
解决方法:在配置config.xml文件时,关于配置action时,需要设置一个属性scope="prototype"实例:
2012-12-29 20:22:30
517
原创 hibernate的dao层实现条件查询
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: * near line 1, column 8 [select * from entity.user_table where account='keyeeps_admin' and keyword='keyee_admin'] org.hibernate.hql
2012-12-29 17:02:07
2342
原创 java.lang.NoClassDefFoundError: antlr/ANTLRException
java.lang.NoClassDefFoundError: antlr/ANTLRException org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:58) org.hibernate.engine.query.HQLQ
2012-12-29 16:16:50
1488
1
原创 java.lang.NoClassDefFoundError: javax/transaction/SystemException
Struts Problem ReportStruts has detected an unhandled exception: Messages:javax.transaction.SystemException javax/transaction/SystemExceptionFile:org/apache/catalina/loader
2012-12-29 15:55:16
4606
原创 spring依赖注入,运行报空指针异常
java.lang.reflect.InvocationTargetException sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) su
2012-12-29 15:48:52
3163
原创 java.lang.ClassNotFoundException: org.apache.struts2.spring.StrutsSpringObjectFactory
严重: Exception starting filter struts2Unable to load configuration. - bean - file:/D:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/keyee_personnel/WEB-INF/classes/struts.xml:21
2012-12-29 15:28:34
1431
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人