
Exception
zhuhong_0308
这个作者很懒,什么都没留下…
展开
-
遇到的check the manual that corresponds to your MySQL server versionfor the right syntax错误
遇到的check the manual that corresponds to your MySQL server version for the right syntax错误。 结果发现是SQL关键字冲突。 可能是经验不够吧。 有个字段名我命名为desc,表示描述(description)。却没有注意到,该desc与SQL查询语句中的降序排列关键字DESC冲突了! 后修改desc为des转载 2013-11-20 11:46:31 · 1913 阅读 · 0 评论 -
don't flush the Session after an exception occurs
使用了SSH框架,之前的时候能往数据库里插数据,后来又在数据库中插了一个叫lock的字段后 发现怎么也不能插入数据了,一直报null id in entry (don't flush the Session after an exception occurs)的错误,首先我使用的是MySql数据库,id是主键而且是自动增量,其他不能为空的字段也都填了值,怎么还能出现这个问题?查了好多资料都没有解决转载 2013-11-20 11:46:35 · 1952 阅读 · 0 评论 -
java.lang.ClassNotFoundException
执行maven命令 clean install 后,会出现bug: Class not found ClassToTest java.lang.ClassNotFoundException: ClassToTest at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.A原创 2013-11-20 11:46:29 · 987 阅读 · 0 评论