
常见异常
乐由心起
这个作者很懒,什么都没留下…
展开
-
SQL Error: 1064, SQLState: 42000 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve
2014-01-08 10:26:50,728 WARN [org.hibernate.util.JDBCExceptionReporter:77] - SQL Error: 1064, SQLState: 420002014-01-08 10:26:50,729 ERROR [org.hibernate.util.JDBCExceptionReporter:78] - You have a原创 2014-02-26 17:08:21 · 2955 阅读 · 0 评论 -
ids for this class must be manually assigned before calling save():
Caused by: javax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.cjonline.ship.entity.TBLMyRec原创 2014-02-26 17:08:23 · 2617 阅读 · 1 评论 -
detached entity passed to persist 异常
detached entity passed to persist: 简单地说,发生此异常即是一个游离的对象要被持久化(save)时,其ID既要ORM框架为它生成ID值,而此实体的ID却已然有值。原创 2014-02-26 16:58:20 · 1235 阅读 · 0 评论 -
jsp exception对象获取异常信息
获取异常信息的exception对象exception内置对象用来处理JSP文件执行时发生的所有错误和异常。exception对象和Java的所有对象一样,都具有系统的继承结构,exception对象几乎定义了所有异常情况,这样的exception对象和常见的错误有所不同,所谓错误,指的是在程序运行中由于系统内存不足,在Web服务器中不能处理计算机本身的问题。与错误不同,exception指的是W原创 2014-02-26 17:00:21 · 2613 阅读 · 0 评论 -
java.lang.OutOfMemoryError: PermGen space
解决方案就是:在启动服务器时加上指定PermGen区域的内存大小的配置.-XX:PermSize=128m -XX:MaxPermSize=256m 比如:nohup /usr/java/jdk1.5.0_08/bin/java -Dcom.sun.management.jmxremote -Xms512m -Xmx1024m -XX:=128m -XX:MaxPermSize=256m -jar原创 2014-02-26 17:00:57 · 701 阅读 · 0 评论 -
解决 Your project contains error(s),please fix them before running your applica ..
解决 Your project contains error(s),please fix them before running your application问题 http://www.cnblogs.com/lbangel/admin/EditPosts.aspx?opt=1 1.网上查询最多的是:project--clean2.在项目列表里删除该项目,再导入3.删除R.ja原创 2014-02-26 17:09:28 · 1047 阅读 · 0 评论