异常
文章平均质量分 58
judyfun
当一个人找不到出路的时候,最好的办法就是将当前能做好的事情做到极致,做到无人能及。
展开
-
maven常见异常及解决办法
【学习笔记】maven常见异常及解决办法1、ReasonPhrase: Forbiddena.注意用户的权限以及角色role的设置,一般是没有权限才会被禁止的。2、Failed to collect dependenciesa.需要把parent工程,也就是package是pom的那个工程先install一下,或者deploy b.需要注意在设置的工厂里面是否可以访问,如果直接访问public分组转载 2015-11-16 12:11:30 · 14174 阅读 · 2 评论 -
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read
异常:org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly原创 2015-01-19 16:56:02 · 10308 阅读 · 0 评论 -
Hibernate异常:No row with the given identifier exists
Hibernate中常见问题 No row with the given identifier exists问题的原因及解决上面引用的这篇文章,解释的挺好的,可以参考。还有一种关于这个Hibernate异常的解决方法:就是在Hibernate框架下,各个类都存在着互相引用的关系,websiteInfo 网站表 和 UserInfo 用户表,w 表 依赖 u表。比如转载 2014-11-27 15:26:59 · 738 阅读 · 0 评论 -
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read
异常:org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly'原创 2014-11-26 14:21:38 · 692 阅读 · 0 评论 -
弹出dialog窗口的时候,拼接访问地址时候的错误
公司做项目到时候,在后台原创 2014-10-10 16:06:24 · 1331 阅读 · 0 评论 -
Uncaught ReferenceError: 添加广告位权限 is not defined
在写js的时候,调用方法时,传递的参数,如果zh原创 2014-09-30 10:18:56 · 989 阅读 · 0 评论 -
org.springframework.dao.DataIntegrityViolationException: could not perform addBatch;数据的完整性异常
在对多个相关的表进行操作时候,比如删除操作,原创 2014-09-10 16:12:11 · 41486 阅读 · 1 评论 -
ORA-01438: 值大于为此列指定的允许精度
Number的数据声明如下:表示 作用 说明Number(p, s) 声明一个定点数 p(precision)为精度,s(scale)表示小数点右边的数字个数,精度最大值为38,Number(p) 声明一个整数 相当于Number(p, 0)Number 声明一个浮点数转载 2014-03-22 16:47:15 · 13177 阅读 · 0 评论 -
Unable to resolve path [user.username], unexpected token [user] 异常
hql语句错误原语句select user from User where user.username = '" + username + "' ——>select user from Useruser where user.username = '" + username + "'下面是别人的解析:"from po.test where test.name = sdf"转载 2014-02-18 18:44:40 · 2659 阅读 · 0 评论 -
fastjson解析json时报错 class not has default constructor
序列化 json原创 2016-12-14 11:26:30 · 4663 阅读 · 0 评论