自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 lambda表达式之v.点不出getDef3()方法

sorted(Comparator.comparing(v -> new Integer(v.getDef3()))):使用 sorted 方法对流中的元素进行排序。我一直以为v.点不出getDef3()方法,说明v并没有成为一个vo对象,一直在纠结哪里的代码有问题,最后发现实际上它能引用到这个方法,而且代码也不会报错。new Vector(….collect(Collectors.toList()):将排序后的元素收集起来,并转换为一个新的列表。

2023-08-05 00:33:01 46 1

原创 为什么要用NVL(dr, ‘0‘) = ‘0‘?而不是dr = ‘0‘?

在oracle数据库中,NVL 函数是一种用于处理空值(NULL)的函数。它接受两个参数,如果第一个参数是空值,则返回第二个参数;否则返回第一个参数的值。通过这样的比较,我们可以筛选出字段 dr 为空或等于 ‘0’ 的记录。

2023-08-05 00:22:27 304 1

原创 警告: Skipping MapperFactoryBean with name ‘accountMapper‘ and ‘com.itheima.mapper.AccountMapper‘

警告: Skipping MapperFactoryBean with name 'accountMapper' and 'com.itheima.mapper.AccountMapper' mapperInterface. Bean already defined with the same name!Exception in thread "main" org.springframework.context.annotation.ConflictingBeanDefinitionException:

2023-01-27 14:45:20 266

转载 [aop报错] Cannot resolve reference to bean ‘txPointCut‘ while setting bean property ‘pointcut‘

https://www.cnblogs.com/returnZero/p/14280644.html

2023-01-26 00:09:28 241

原创 Cause: java.lang.ClassNotFoundException: Cannot find class: ${com.mysql.jdbc.Driver}的两种解决方法

Cause: java.lang.ClassNotFoundException: Cannot find class: ${com.mysql.jdbc.Driver}的一种解决方法

2023-01-17 01:18:52 1081 1

原创 解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)的一个途径

mapper资源未配置导致出现org.apache.ibatis.binding.BindingException: Invalid bound statement(not found)

2022-07-19 10:00:43 147

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除