自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

wl-yun的博客

学习、记录、分享

  • 博客(5)
  • 收藏
  • 关注

原创 org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis

(org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: 如何解决)报错信息:org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redi

2021-05-18 19:42:54 3524

原创 java项目启动时加载xml文件报错XML document structures must start and end within the same entity

检查了好多遍,报错的xml内容没有问题。看了属性才知道,这个文件格式竟然是GB2312,其他都是UTF-8。修改编码后启动,问题解决。所以,以后修改文件一定要注意编码问题!!!...

2018-09-29 14:15:02 4535 1

原创 设计模式之单例模式

一、为什么使用单例模式?确保系统中一个类只产生一个实例,对系统中的关键组件和被频繁使用的对象可改善其性能。二、使用单例模式的好处是什么?对于频繁使用的对象(如工具类),可以省略创建对象消耗的时间,特别是一些重量级的对象,可节省系统开销。减少了new操作,对系统内存的使用频率也会降低,可减轻GC压力,缩短停顿时间。三、单例模式角色 角色 作用 单例...

2018-08-09 23:35:27 128

原创 eclipse编译项目报错Errors occurred during the build. Errors running builder 'Java Builder' on project ...

错误内容摘要:Errors occurred during the build.Errors running builder 'Java Builder' on project 'batch'.Bad type on operand stackException Details: Location: org/eclipse/jdt/internal/compiler/ast/Me...

2018-06-26 12:45:01 30530

原创 Oracle数据库SQL语句中有"&"执行失败

这是在一次更新表数据中遇到的情况错误的语句:update invoice cset c.invoicenumber = '05803927', c.pdfurl = 'http://127.0.0.1:8080/einvoice/invoices/file?invoiceNumber=05803927&invoiceCode=042001600311' where c.no ...

2018-06-25 13:16:57 2527

空空如也

空空如也

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

TA关注的人

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