自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Jrebel 在 Idea 2023.3中无法以 debug 的模式启动问题

Idea 在升级了2023.3以后,Jrebel 无法以 debug 的模式启动,找了半天,最后在插件主页的评论区找到了解决方案。

2023-12-15 09:33:25 737

原创 Could not transfer artifact xxx from/to maven-default-http-blocker (http://0.0.0.0/)

maven构建项目的时候遇到了Could not transfer artifact xxxxxx:pom:1.1-SNAPSHOT from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [nexus-118 (http://xxxxxx.com:8081/repository/maven-public/, default, releases+snapshots)]错误,查了一下,发现是m

2022-03-08 17:39:02 2856 1

原创 FastDFS安装配置,与SpringBoot整合

FastDFS安装配置,与SpringBoot整合FastDFS安装安装 FastDFS 依赖安装 FastDFS下载 Nginx 的 FastDFS 模块安装 Nginx配置 fastdfs 集群配置 tracker配置 storager配置 nginx.conf永久关闭防火墙启动服务检测集群SpringBoot 整合 FastDFSpom.xmlyml 配置文件FastDFS Client测试FastDFS安装安装 FastDFS 依赖git clone https://hub.0z.gs/hap

2022-03-04 17:58:11 2568

原创 MongoDB连接报错com.mongodb.MongoCommandException: Command failed with error 18 (AuthenticationFailed)

MongoDB springboot连接报错小记今天尝试使用MongoDB的时候报了一个神奇的错误我查了好久,添加用户不行,改权限不行,当我快放弃的时候找到了这个老哥的博客链接: spring-boot-starter-data-mongodb 连接失败 密码错误的坑.看到两张图的区别了么?再看看MongoDB底层怎么玩的看到了吧?这TND使用的是char数组,如果是字符串没啥问题,但是用纯数字的话就有问题了!!切记!!!!纯数字密码一定要加引号!!!纯数字密码一定要加引号!!!纯

2020-11-12 19:38:09 8349 8

原创 SpringBoot中jackson日期格式化问题

SpringBoot中jackson日期格式化问题最近进行项目迁移工作,由SpringMVC迁移到springboot,中间遇到一个问题就是日期的格式化问题,在MVC环境中显示正常,到了springboot中就由2019-03-06 06:14:32 变成了 2019-03-06T06:14:32.005+0000,经查是由于Jackson未在springboot环境中配置对应的日期格式导致,解...

2019-03-07 11:56:32 6168

原创 Springboot查看日志

Springboot查看日志以前用springMVC时查看日志直接进入tail -f ****.out,但是用了springboot之后,一时不知道如何实现,记录一下以下以log4j2为日志框架先在log4j2.xml中添加如下配置 <RollingFile name="RollingFileConsole" fileName="./logs/console.out" ...

2019-01-11 14:24:32 8962

原创 Error:Cannot build artifact 'qthl-wf-quartz2:war exploded' because it is included into a circular错误

IDEA部署的时候遇到了Error:Cannot build artifact ‘qthl-wf-quartz2:war exploded’ because it is included into a circular错误,经查解决方式如下:将框内的重复的war删掉即可...

2018-11-22 17:18:40 439

原创 Springboot使用log4j2作为系统日志输出方法

Springboot使用log4j2作为系统日志输出springboot 默认使用的log输出为logback,但是因为性能需要改成log4j2作为log输出,为了实现这个功能,踩了不少坑,特此记录一下。一下是xml文件:<?xml version="1.0" encoding="UTF-8"?><!--日志级别以及优先级排序: OFF > FATAL > ...

2018-11-07 14:40:15 3712

原创 org.apache.ibatis.binding.BindingException: Invalid bound statement 问题记录

org.apache.ibatis.binding.BindingException: Invalid bound statement 问题记录spring boot启动的时候报如下错误:2018-09-27 15:05:19.567 ERROR 12348 --- [nio-8088-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Ser...

2018-09-27 15:16:49 301

原创 日期拼接转换

日期拼接转换在公司用到了mysql日期方面的一些操作,记录下来以备不时之需SELECT *FROM `xxx`WHERE create_time < STR_TO_DATE( CONCAT( DATE_FORMAT( DATE_ADD(

2017-07-31 16:33:14 1089

原创 org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: b near line 1, column 49...

执行hql语句的时候遇到了如下错误: . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|

2017-05-03 16:02:05 2569 2

原创 There is already 'xxxxx' bean method

今天写代码的时候遇到了如下问题2017-04-26 11:17:02.198 WARN 6411 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.

2017-04-26 11:22:48 12234 3

原创 HV000184: ParameterMessageInterpolator has been chosen, EL interpolation will not be supported问题解决

今天创建springboot项目的时候添加完依赖启动出现了这个错误2017-04-21 11:59:07.341 WARN 9532 --- [ main] o.h.v.m.ParameterMessageInterpolator : HV000184: ParameterMessageInterpolator has been chosen, EL interpola

2017-04-21 14:10:53 7916 2

空空如也

空空如也

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

TA关注的人

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