Web异常
iteye_17916
这个作者很懒,什么都没留下…
展开
-
Web
[align=center]NoSuchMethodException:(不存在这种方法异常 --> 浏览器缓存问题)浏览器缓存问题,一般IE,360都有缓存问题。碰到这种问题,关掉浏览器,重新开启(最好开启/重新开启谷歌浏览器)。刚才重启了360浏览器,现在变好了。[/align][size=x-large][/size]...2012-10-21 22:46:48 · 113 阅读 · 0 评论 -
Struts Problem Report 之 java.lang.NullPointerException异常处理
Struts Problem ReportStruts has detected an unhandled exception:Messages: File: net/shopxx/action/admin/CustomerAction.javaLine number: 95Stacktracesjava.lang.NullPointerException...2012-10-21 23:41:05 · 239 阅读 · 0 评论 -
Struts Problem Report 之 java.lang.NoSuchMethodException
Struts Problem ReportStruts has detected an unhandled exception: Messages: net.shopxx.action.android.MapAction.getRecorde() File: java/lang/Class.java Line number: 1622 ------------...2012-10-22 02:58:21 · 151 阅读 · 0 评论 -
Struts Problem Report 之 org.hibernate.hql.ast.QuerySyntaxException
Struts Problem ReportStruts has detected an unhandled exception:Messages: unexpected token: 1 near line 1, column 58 [from MapBig as mapBig where mapBig.user_id = 40286081370d1c0101370d1d5fd...2012-10-22 03:13:47 · 140 阅读 · 0 评论 -
Cycle Exception, PO在json序列化时发生死循环
Exception in thread "main" net.ssk.json.JSONException: There is a cycle in the hierarchy!pojo中对象存在有死循环问题,解决方法:方法 1: 建一个 VO 类。[code="java"] public String findAllSingleTest(){//代码示例、 ...2012-10-23 01:17:07 · 176 阅读 · 0 评论 -
奇怪的 Null Exception
这个 Null Exception 很简单,采取跟踪测试调试,发现某对象为空值,但是前台却是已经输入了值,并且提交了,但还是报异常。 最后发现:是该类的一个属性的set方法的名字写错了,疏忽,故而在后台获取不到该属性的值。[size=large][color=green] [u][b]所以,用到get、set方法时,最好是用快捷键。还有,当修改属性(成员变量)的...2012-10-23 01:39:22 · 216 阅读 · 0 评论 -
异常处理
[color=darkblue][size=medium]异常:Cannot create PoolableConnectionFactory (Access denied for user 'root'@'loca解决方法:1.把jdbc.property的配置文件中的localhost改为数据库所在的服务器的IP地址即可 (如:155.1.1.1),这是我的解决方法。...2012-11-02 01:51:57 · 124 阅读 · 0 评论