![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java学习
「已注销」
这个作者很懒,什么都没留下…
展开
-
Java之数据溢出
首先,我们来讨论一个话题,是否存在一个数,使得这个数加一之后小于这个数呢?表面来看是不可能的。那么接下来,来看下面这个代码:public class Day1 { public static void main(String[] args) { int num = Integer.MAX_VALUE; int num1 = num + 1; ...原创 2018-11-19 21:41:48 · 1084 阅读 · 0 评论 -
SSM遇到的表单问题:The server cannot or will not process the request due to something that is perceived to b
在做SSM项目的时候,遇到下面的错误。经过一步步排查,找到了问题的源头:在jsp页面有一个用户的birthday属性,在实体类中的类型是Date类型,在进行表单提交的时候,报了400错误最后,在网上查找资料找到了解决方案:在实体类User的birthday属性前面加入注解:如果指定的输入格式是:1997-01-01,则格式如下:@DateTimeFormat(patt...原创 2019-08-04 12:49:11 · 653 阅读 · 0 评论 -
SSM遇到的一个错误
错误一:org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.dao.IUse...原创 2019-07-11 23:29:35 · 139 阅读 · 0 评论