![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
error
liyunxin0534
这个作者很懒,什么都没留下…
展开
-
does not contain handler parameter named 'method'.错误
javax.servlet.ServletException: Request[/XX] does not contain handler parameter named 'method'. This may be caused by whitespace in the label text. 这个问题害我找了好久,看了网上好多说加上method="post"就可以了,但我加上还是出错,后来把原创 2013-03-12 10:50:18 · 1237 阅读 · 0 评论 -
报错:java.lang.Long cannot be cast to java.lang.Integer
Long 无法转化成Integer类型. 这个异常 经常出现在hinbernate查询count()的时候. 原因: 这里在Hibernate2.0之前版本list.get(0)返回的是Integer类型. 但是在Hibernate3.0以后版本list.get(0)返回的是Long类型. 所以在这里不可以由Long型强转成In原创 2013-03-15 14:05:12 · 1140 阅读 · 0 评论