自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(59)
  • 资源 (25)
  • 问答 (1)
  • 收藏
  • 关注

原创 Mybatis-Plus使用时,entity类必须添加无参构造方法

如果使用lombok,还可以这么快速添加:@NoArgsConstructor,全参数的也加一个:@AllArgsConstructor。Mybatis-Plus使用时,entity类必须添加无参构造方法。解决就是给Entity实体类添加一个无参数构造方法。

2023-08-17 22:09:13 430

原创 前端路由异常

因为router.addRoutes的参数为空,需要配置。

2023-08-17 22:03:01 405

原创 编译乱码问题

IDEA中如何设置JAVAC的编译参数如-ENCODING UTF-8

2023-06-17 21:10:46 137

原创 gitpython实现window双击exe程序,自动提交git远程仓库

gitpython实现window双击exe程序,自动提交git远程仓库,需要编辑配置文件,能够自动识别.gitignore

2023-05-01 12:27:25 168 1

原创 gitpython基本使用

gitpython基本使用

2023-04-30 18:25:39 422

原创 SpringBoot引入seata后造成异常

SpringBoot引入seata后造成数据库异常

2022-08-23 11:11:53 963

原创 docker下使用seata异常

docker下seata注册进nacos注意

2022-08-23 11:05:54 1031

原创 异常:nested exception is java.lang.NoSuchFieldError: DEFAULT_SHUTDOWN_QUIET_PERIOD

Spring Cloud Gateway或者SpringBoot启动异常

2022-08-23 10:56:45 1524

原创 使用seata1.3.0演示分布式事务完整demo

使用Nacos注册中心、测试Seata1.3.0分布式事务

2022-08-06 22:39:06 2426

原创 Kubesphere+nginx异常

kubernetes集群+kubesphere工具,使用nginx域名反向代理报错

2022-07-16 19:25:50 907 2

原创 SpringBoot Thymeleaf 入门

SpringBoot Thymeleaf 入门常见异常: An error happened during template parsing (template: "class path resource

2022-06-05 23:03:44 203

原创 python 校验身份证号码 并输出对应省市县生日 demo

1.需求2.代码实现 # _*_coding:utf-8_*_import redef validateIdCard(idCard): weight = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2] check_code = ['1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'] sum = 0 for i in range(len(idC

2022-05-11 23:16:55 6247

原创 分享python-ocr镜像 可直接docker部署 生产级别

ocr识别电子图片秒级返回,识别率100%

2022-05-10 00:02:51 701

原创 静态工具类使用单例对象线程安全问题注意1

1.记录问题1.1工具类代码public static SimpleDateFormat sdfTest = new SimpleDateFormat("yyyy年MM月dd日"); public static Date selectDate(String stageDuring) { try { System.out.println(Thread.currentThread().getId()+"==睡眠前=="+stageDuring); Thread.sleep(10*10

2021-10-23 17:51:10 4251

原创 spring-cloud-kubernetes视频教程

一、视频地址https://edu.csdn.net/course/detail/35861关于收费问题:本人也是想了很久,有一段时间也想完全免费,但是后来综合考虑还是收费了。不过针对想学习但是经济有压力的小伙伴们(只针对在校大学生),可以联系我报销,联系邮箱:[email protected]二、基本概念简介2.1什么是K8s官网地址:https://kubernetes.io/zh/其实k8s是kubernetes的简称,因为“k”和“s”中间有八个字母,所以简称“k8s

2021-09-12 16:50:31 505

原创 Jenkinsfile自定义全局变量

在steps里面定义一个script标签,无需定义,直接使用即可,下面是pipeline示例:pipeline { agent { node { label 'maven' } } parameters { string(name:'TAG_NAME',defaultValue: 'v1.0',description:'') choice(name: 'APP_NAME', choices: ['gateway', 'sso

2021-08-11 11:25:49 2405

原创 搭建kubenates-err1

异常内容:W0801 09:20:29.965243 2958 join.go:346] [preflight] WARNING: JoinControlPane.controlPlane settings will be ignored when control-plane flag is not set.[preflight] Running pre-flight checks [WARNING IsDockerSystemdCheck]: detected "cgroupfs" as

2021-08-01 17:31:39 381

原创 rabbitmq使用docker从安装到Java第一个rabbit_demo

1.docker安装和运行1.1下载镜像docker pull rabbitmq:3.7.7-management1.2运行起来docker run -d --name myrabbitmq -p 5672:5672 -p 15672:15672 -v `pwd`/data:/var/lib/rabbitmq --hostname myRabbit \ -e RABBITMQ_DEFAULT_VHOST=my_vhost -e RABBITMQ_DEFAULT_USER=admin -e RAB

2021-07-06 21:38:33 211 2

原创 手动双面打印机-打印规则

手动双面打印机,需要记住规则,反了就不行,需要严格遵守:1.文档总数:a、奇数页===》 必须先打印奇数,再打印偶数,第一页的第二面空白;b、偶数页===》 必须先打印偶数,再打印奇数,没有空白页;2.针对一个文档多份打印:1.a情况===》 每份去掉第一页,或者第一页最后打印;打印完奇数,再多份偶数同时打印;1.b情况===》 可以直接连打,只需要记住先偶再奇就行;...

2021-07-03 14:02:26 4848

原创 QQ邮箱 包含关键字 自动转发

1.电脑登陆进QQ邮箱2.进入设置3.填写收信自动转发规则4.被转发邮箱会收到一封确认邮件

2021-01-11 11:45:13 2853

原创 javax.jms.JMSException: Failed to create session factory

异常信息:14:49:58.273 [RMI TCP Connection(3)-192.168.134.1] WARN o.s.b.actuate.jms.JmsHealthIndicator - JMS health check failedjavax.jms.JMSException: Failed to create session factory at org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.crea

2020-12-25 14:53:01 4086

原创 联想 Lenovo 小新Pro-13ARE 2020 笔记本电脑 评测

基本信息:电脑型号 联想 Lenovo 小新Pro-13ARE 2020 笔记本电脑操作系统 Windows 10 64位 ( DirectX 12 )处理器 AMD Ryzen 7 4800U with Radeon Graphics 八核主板 联想 LNVNB161216 ( AMD PCI 标准主机 CPU 桥 )内存 16 GB ( DDR4 3200MHz )主硬盘 UMIS RPITJ512VME2OWD ( 512 GB / 固态硬盘 )主显卡 AMD Radeon Graph

2020-12-06 16:40:43 16820 1

原创 Unsatisfied dependency expressed through field ‘authorizationServerTokenServices‘

使用SpringSecurityOauth2启动异常:ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘openId

2020-12-03 14:57:22 1468

转载 Java Lambda表达式笔记list常用操作

一、基础知识1.是什么?Lambda 表达式,也可称为闭包,它是推动 Java 8 发布的最重要新特性。Lambda 允许把函数作为一个方法的参数(函数作为参数传递进方法中)。使用 Lambda 表达式可以使代码变的更加简洁紧凑。知名大神博客,可以直接跳到大神博客学习。2. Lambda 表达式实例// 1. 不需要参数,返回值为 5() -> 5// 2. 接收一个参数(数字类型),返回其2倍的值x -> 2 * x// 3. 接受2个参数(数字),并返回他们的差值(

2020-11-30 21:50:38 811

原创 openfeign 找不到 @FeignClient 注册的组件

标题@EnableFeignClients注解注意该注解使用时请注意,如果在子包中使用,一定将Application类拿到外面,否则报找不到@FeignClient注册组件报错openfeign默认不支持Get请求,可以使用以下配置:

2020-11-15 00:46:53 619

原创 ConflictingBeanDefinitionException: Annotation-specified bean name ‘imageLoader‘ for bean class [com

异常信息:org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name ‘imageLoader’ for bean class [com.sun.javafx.tk.ImageLoader] conflicts with existing, non-compatible bean definition of same name and class [com

2020-11-14 22:55:57 646

原创 Consider defining a bean of type ‘java.util.List‘ in your configuration.

异常信息:[zxl-sso-server:192.168.1.157:3333:dev] 2020-11-14 18:02:27.897 WARN 6472 [restartedMain][558][refresh] org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext Exception encountered during context initialization

2020-11-14 18:09:23 7208

原创 新版MySQL ERROR 1819 (HY000): Your password does not satisfy the current policy requirements

新版本MySQL8.0最近的版本设置密码,要求会更加严格很多博客提到set global validate_password.length=1;set global validate_password.policy=0;但是现在仍旧不好使因为还有几项没有修改,可以先使用命名查看一下://如果没有先配好root的密码,使用初始密码是无法查看对应的参数的。所以还是要先设置一个麻烦一点的密码,重启数据库,命令在后面:SHOW VARIABLES LIKE ‘validate_password%’;

2020-11-11 23:41:32 85

原创 nested exception is java.lang.IllegalStateException: Can‘t configure antMatchers after anyRequest

错误信息:org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘springSecurityFilterChain’ defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean

2020-11-04 17:40:17 2527

原创 Error processing condition on org.springframework.boot.actuate.autoconfigure.audit.AuditEventsEndpoi

错误信息:org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.SsoServerApplication]; nested exception is java.lang.IllegalStateException: Error processing condition on org.springframe

2020-11-04 17:30:46 11845

原创 No qualifying bean of type ‘com.netflix.client.config.IClientConfig‘ available

2020-11-04 17:10:12.616 WARN 6424 — [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error crea

2020-11-04 17:28:02 1620 1

原创 glusterd.service: control process exited, code=exited status=203

安装GlusterFs启动报错glusterd.service: control process exited, code=exited status=203报错原因:没有修改:vim /usr/lib/systemd/system/glusterd.service脚本修改如下,[Unit]Description=GlusterFS, a clustered file-system serverDocumentation=man:glusterd(8)Requires=rpcbind.ser

2020-07-16 22:46:20 1510

原创 ActiveMq修改代码链接账号密码&8161/admin管理密码

1.修改代码中链接用户名密码:(修改conf/ activemq.xml)```java<plugins><simpleAuthenticationPlugin> <users> <authenticationUser username="z" password="123" groups="users,admins"/> </users></simpleAuthenticationPlugin>

2020-05-11 15:44:32 1853

原创 鼠标右击html元素,能够编辑该元素

demo简单,直接代码:<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script src="https://cdn.bootcss.com/jquery/1.8.3/jquery.min.js"><...

2020-04-14 18:32:49 202

原创 CentOS7 MySQL8.0 启动失败 Data Dictionary initialization failed

在CentOS7下面MySQL启动失败。1.查看错误原因1.1看错误日志在哪里cat /etc/my.cnf确定错误日志文件在/var/log/mysqld.log,查看错误1.2查看错误cat /var/log/mysqld.log2020-04-12T14:43:42.933326Z 0 [ERROR] [MY-010119] [Server] Aborting2020-04...

2020-04-12 23:02:09 32069 4

原创 SpringMvc+Spring+ActiveMQ发送接收Mqtt消息Maven-Demo

一、入门知识1什么是ActivemqMQ是消息中间件,是一种在分布式系统中应用程序借以传递消息的媒介,常用的有ActiveMQ,RabbitMQ,kafka。ActiveMQ是Apache下的开源项目,完全支持JMS1.1和J2EE1.4规范的JMS Provider实现。ActiveMQ支持MQTT协议,并将在JMS / NMS和MQTT客户端之间自动映射。MQTT是机器对机器(M2M)的发...

2020-04-08 14:24:19 1351

原创 SharePoint2013 工作流状态 已取消 一看报错了(权限问题)

一、错误信息RequestorId: 4abc7b52-0b11-4f2e-2f6d-a54c94f13381。详细信息: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPRequestGuid":["4abc7b52-0b11-4f...

2020-03-08 11:26:11 392

原创 拦截器获取自定义注解信息类似AOP切面编程

既然有切面编程,已经有Before,After-returning,After,After-throwing,Around这五种通知,已经非常完善了。但是为什么要自定义一个注解,配合拦截器使用呢?有一个问题,就只在切面编程中,我们是无法获取当前线程的HttpServletRequest、HttpServletResponse的,所以这个时候我们可以使用Handler结合@Interface的方式解...

2019-09-15 14:55:50 873

原创 SpringBoot自定义注解(附百度云demo源码)

0.pom.xml<dependencyManagement> <dependencies> <dependency> <groupId>io.spring.platform</groupId> <artifactId>platform-bom</artifactId> <...

2019-09-14 22:33:28 212

原创 Springboot自定义注解异常javax.validation.ConstraintDefinitionException

1.异常信息javax.validation.ConstraintDefinitionException: HV000074: com.xdl.annotation.config.MobileAnnotation contains Constraint annotation, but does not contain a groups parameter. at org.hibernate.v...

2019-09-14 22:23:30 5440

安卓adb无线调试(自始至终都不需要手机和电脑usb连接)

安卓真机调试,解决刚开始usb连接问题,自始至终都不需要手机和电脑usb连接。 如果不好用,可以远程辅助 邮箱: [email protected]

2024-04-05

gitpython实现window双击exe程序,自动提交git远程仓库,需要编辑配置文件

1.config.txt不可缺少,“&&&”为分隔符, git库地址&&&对应remote&&对应分支 注意填写; 2.CommitGit.exe和config.txt必须放在同一个目录中; 3.运行效果: 当前操作库:E:\Use\caogao\demo2,origin,master =====================开始add,path=E:\Use\caogao\demo2 =======add结束,开始commit =======commit结束,开始push,origin=origin,branch=master =====================push结束,path=E:\Use\caogao\demo2 当前操作库:E:\Use\caogao\demo3,origin,master =====================开始add,path=E:\Use\caogao\demo3 =======add结束,开始commit =======commit结束,开始push,origin=origin,branch=master =============

2023-04-30

Java自己实现一个单链表

Java自己实现一个单链表

2023-04-24

seata1.3.0完整demo

拿到该案例,请按照如下配置进行: 0.将数据库都配置好,等待使用; 1.将“nacos和seata-server”文件夹中两个代码解压出来, 其中nacos下conf/application.properties的数据库需要配置,可以搜索“请配置”找到 需要改动地方,其他地方不需要改动; 2.修改代码中配置文件application.yaml 其中测试全局事务的controller方法是:order-service模块下com.zxl.invoice.buiss.controller.TOrderController#create 访问路径示例:http://localhost:2001/buiss/torder/create?userId=1&productId=1&count=10&money=100 代码默认在store-service的com.zxl.invoice.buiss.service.impl.TStorageServiceImpl#decrease方法下 加了一句“int i = 1/0;”如果测试正常的,可以将该句注释掉;

2022-08-06

Q&amp;Q HG08-204说明书中文版

[Citizen 西铁城Q&Q] 腕表 指针式 电波 太阳能 防水 日期 金属表带 HG08-204的说明书。 之前日文说明书弄丢了,一直时间不对,不会调,后来找到中文说明书,调整了一下,日期和时间都正确了,表很智能,设计很好。

2022-07-12

解决笔记本风扇声音大问题

现在很多笔记本,尤其是游戏本,都有一个显著的问题,就是风扇的声音很大,这个问题困扰了很多爱好笔记本电脑的同志。这里根据我多年维修电脑经验,列举我解决这个问题的措施,基本能够解决99%笔记本电脑风扇声音过大的问题(排除硬件损坏情况)。 如果有问题可以联系邮箱:[email protected] 整理不易,不免费

2022-05-14

省市地区及6位编码(附身份证号校验程序)

1.获取全国省市地区及对应6位编码; 2.身份证号校验,并输出:性别、生日、具体省市县籍贯信息; 3.附带python源代码,dist下exe程序为打包后的程序;

2022-05-12

基于djando的ocr docker镜像 生产级别

docker镜像,拿过去直接部署就好; docker load --input demo_ocr.tar docker run --restart=always -d -p 8000:8000 \ --name demo_ocr demo_ocr:v1.0 curl --location --request POST 'http://192.168.10.128:8000/text' \ --form 'file=@"/E:/Use/images/ocr_test01.png"' 电子图片秒返回,识别率100%; 纸质看图片质量,手写效果不好;  整理不易,不免费。下载后有任何问题随时联系,可以帮忙部署,该镜像可用于生产:[email protected]

2022-05-09

后台管理系统原型模版1 小demo

演示链接: http://www.1315app.com/axure/demo1/%E7%99%BB%E9%99%861.html

2022-04-23

Axure RP Extension for Chrome 0.6.3

说明 An extension that allows local viewing of Axure RP prototypes from Google Chrome. Axure发布的html文件,能够直接打开,但是“说明”标签不显示,需要安装该插件。 1.安装Chrome浏览器; 2.将“axure-rp-extension-for-ch.crx”拖入Chrome浏览器,确认添加插件; 3.到Chrome浏览器的设置==》更多工具==》扩展程序==》找到对应扩展程序,detail==》支持本地路径访问;

2022-04-23

OSError: [WinError 126] geos_c.dll

针对如下报错使用: from .base import CAP_STYLE, JOIN_STYLE File "C:\ProgramData\Anaconda3\envs\chineseocr_lite\lib\site-packages\shapely\geometry\base.py", line 18, in <module> from shapely.coords import CoordinateSequence File "C:\ProgramData\Anaconda3\envs\chineseocr_lite\lib\site-packages\shapely\coords.py", line 8, in <module> from shapely.geos import lgeos File "C:\ProgramData\Anaconda3\envs\chineseocr_lite\lib\site-packages\shapely\geos.py", line 145, in <module> _lgeos = CDLL(os.

2022-02-11

rabbitmq_demo3.zip

rabbitmq生产者消费者demo

2021-07-06

飞行堡垒7 FX95GT 刷新bois 增加系统稳定性

飞行堡垒7 FX95GT 刷新bois 增加系统稳定性; 需要使用360浏览器打开; 有不懂可以留言一起探讨;

2020-11-10

activemqmqttdemo1.zip

SpringBoot+ActiveMQ基于MQtt协议发送和接受消息。 没有积分(记得带上资源url):[email protected] 只有先订阅该Topic,才能接受该Topic推送的消息。 MQTT(消息队列遥测传输)是ISO 标准(ISO/IEC PRF 20922)下基于发布/订阅范式的消息协议。它工作在 TCP/IP协议族上,是为硬件性能低下的远程设备以及网络状况糟糕的情况下而设计的发布/订阅型消息协议,为此,它需要一个消息中间件 。

2020-04-26

JavaScript操作Excel_Demo.zip

插件库:xlsx.full.min.js 代码里面主要有三个html:读、写、跳过行数读 没有积分邮箱:[email protected] 记得带上资源地址。

2020-04-21

org.dadacoalition.yedit_1.0.20.201509041456-RELEASE.zip

将下载好的文件复制到Eclipse安装目录的【Plugins】文件夹里面并重启Eclipse。 解压密码123

2020-04-20

单击html元素能够编辑.html

鼠标右击html元素,能够编辑该元素.编辑结束,按enter键完成编辑。只有一个html页面,无需其他插件。

2020-04-14

activemq-mqtt-demo.zip

使用SpringMVC、Spring、ActiveMQ发送和接受Mqtt消息。

2020-04-08

Layui省市区三级联动城市选择实现Demo.txt

Layui省市区三级联动城市选择实现Demo拿过去就能用够,简介明了。 如果没有积分私我或者发送邮箱[email protected],我看到发给你。

2020-01-04

父组件向子组件传值(双向数据传输).html

父组件向子组件传值(双向数据传输),无需引入额外js,下载直接在浏览器中打开就可以浏览效果。 主要使用知识点自定义组件、$emit("function",arg)、props

2019-10-25

父组件向子组件传值.html

父组件向子组件传值,无需导入js,直接使用浏览器访问即可查看Demo效果。 1.父组件向子组件传值可以在自定义标签处用“:模版-值=‘父组件中值’”,如 <app_t_input :msg-t="msg"></app_t_input> 2.而对应需要在子组件中props迎合,如 var appT_input = { template: "#appT", props: ['msgT'], methods:{ show(){ console.log("==============="+this.msgT) } } }

2019-10-25

子组件向父组件传值.html

Vue中子组件向父组件传值的小demo。 1.自定义模版标签定义方法。使用v-on代替v-bind 即:<app-template @method_sun="method_parent"></app-template> 2.在子组件中使用this.$emit(“function1”,arg) function1:代表1中@后面紧跟着的方法名,注意需要使用引号 3.必须在父类方法中定义对应方法。

2019-10-25

SpringBoot-Maven-Thymeleaf完整博客系统(包含前后台数据库,拿过去就能直接用).txt

演示地址:http://derry.1315app.com/ 没有积分可以私我邮箱[email protected],我看到发给你。

2019-08-20

ImgUtil.java

没有积分可以私我邮箱[email protected],我看到发给你。

2019-08-14

JS实现loading效果(不需要引入任何文件,一个html,几行代码。)

没有积分可以私我邮箱[email protected],我看到发给你。 JavaScript实现loading效果,拿过去就能够直接使用。

2019-06-18

SpringBoot邮件发送-maven项目-对应源码

没有积分可以私我邮箱 ,我看到发给你。 SpringBoot邮件发送-maven项目,前面有对应文档。可以看文档就能完成。 博客地址:https://blog.csdn.net/liurui50/article/details/88886713 完全可以不用源码,直接看博客操作完成。支持各种附件邮件发送

2019-03-29

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

TA关注的人

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