1.org.hibernate.exception.ConstraintViolationExcep
2.java.lang.OutOfMemoryError: PermGen space(全称:Permanent Generation space),指的是内存的永久保存区域
3.org.hibernate.hql.ast.QuerySyntaxException
4.Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.butterfly.entity.Notice#2]
5.Caused by: org.hibernate.exception.SQLGrammarException: could not insert: [com.butterfly.entity.Photo]
6.org.apache.jasper.JasperException: /zone/edit_forum.jsp(2,0) Page directive must not have multiple occurrences of pageencoding
7.Caused by:java.sql.BatchUpdateException: Incorrect string value: '\xE6\x88\x91\xE7\x9A\x84...' for column 'description' at row 1:原因不是主键是组合造成了insert和update的误判,而是mysql里数据库
'description' 字段编码设置的问题,改成utf-8就没事啦,
8.Caused by: org.springframework.beans.BeanInstantiationExcepti
9.Caused by: java.lang.NoClassDefFoundError: javax/persistence/Entity;缺少ejb3-persistence.jar引起
10.Caused by: java.lang.ClassNotFoundException: org.hibernate.cfg.AnnotationConfiguration:缺少hibernate-commons-annotations.jar引起
11.Caused by: java.lang.IllegalArgumentException
12.java.lang.NullPointerException
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:49):解决办法是:action里对应的属性忘记用@Resource(name="forumCategoryInfor")注入了,写上问题解决
13.java.lang.OutOfMemoryError: Java heap space
14.org.springframework.dao.InvalidDataAccessApiUsag
15.Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: com.ao.model.Employee column: DEPARTID (should be mapped with insert="false" update="false");
16.java.lang.ClassNotFoundException: org.apache.commons.lang.xwork.StringUtils
17.org.hibernate.QueryException: could not resolve property: employee.depart.departid of: com.ao.model.Hols
18.jboss部署项目:org.jboss.deployers.spi.DeploymentException: URL file:/E:/jboss/jboss-5.0.1.GA/server/default/deploy/study-bbs.war/ deployment failed