最新发布第85页
MariaDB Galera集群如何增加新节点-Ddmit

MariaDB Galera集群如何增加新节点

有一个在运行的MariaDB Galera集群,如果想添加一个节点或者想让一个节点重新连接到集群,该如何配置? 环境信息: CentOS Linux release 7.9.2009 (Core); mariadb-10.6.8; MariaDB Galera集...
Java获取实体类所有字段属性的实现方式-Ddmit

Java获取实体类所有字段属性的实现方式

如果想获取Java中某个实体类的所有属性并遍历各个属性,可以通过如下方式: 1.通过反射来获取 可以通过Java的反射机制来获取一个POJO的所有属性名称和属性值,如果获取的是private的属性可以使...
ddmit的头像-DdmitDdmit2年前
09200
Junit 4测试Service方法的几种方式-Ddmit

Junit 4测试Service方法的几种方式

Junit单元测试,测试Service方法,注入Service的方式有以下两种: Maven依赖: <properties> <!-- 源文件编码格式 --> <project.build.sourceEncoding>UTF-8</project.bui...
ddmit的头像-DdmitDdmit2年前
08150
Java Webservice项目启动报错:com.sun.xml.bind.v2.runtime.IllegalAnnotationsException-Ddmit

Java Webservice项目启动报错:com.sun.xml.bind.v2.runtime.IllegalAnnotationsException

使用Apache CXF WSDL to Java代码生成工具-wsdl2java,生成代码之后,在生成的Java类中,自己手动新增了一个字段,结果启动报错: Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsE...
ddmit的头像-DdmitDdmit2年前
09440
Mybatis使用自定义TypeHandler解析XMLGregorianCalendar日期格式为java.sql.Date-Ddmit

Mybatis使用自定义TypeHandler解析XMLGregorianCalendar日期格式为java.sql.Date

使用Mybatis将Java实体类映射到Oracle数据库,实体类中属性createdate为javax.xml.datatype.XMLGregorianCalendar类型。项目启动是对Mapper文件解析时报错,提示如下: 17:23:04.445 [main]...
ddmit的头像-DdmitDdmit2年前
09960
Debian通过snapd安装certbot出错-Ddmit

Debian通过snapd安装certbot出错

在Debian系统上,通过snap安装certbot出错: error: no snap found for 'certbot' 环境已经更新到最新: apt update snap install core; snap refresh core snap install --classic certbot 上...
ddmit的头像-DdmitDdmit3年前
08300
webservice服务报错:javax.xml.bind.MarshalException-Ddmit

webservice服务报错:javax.xml.bind.MarshalException

webservice服务报错,信息如下: javax.xml.bind.MarshalException - with linked exception: [com.sun.istack.SAXException2: unable to marshal type 'wsstub.sscm.importShipAdviceInfoR...
记一次MySQL时间排序/时间过滤查询速度优化过程(innodb_buffer_pool_size)-Ddmit

记一次MySQL时间排序/时间过滤查询速度优化过程(innodb_buffer_pool_size)

记一次对MySQL按时间查询SQL的速度优化过程。 一、环境信息 MySQL: 8.0.22; 二、待优化SQL SELECT * FROM sys_leave_records r LEFT JOIN sys_dept d ON r.dept_id = d.dept_id where ( d.dept...
ddmit的头像-DdmitDdmit3年前
07440
2023年最新土耳其区Youtube Premium Family(Youtube家庭会员)开通指南-Ddmit

2023年最新土耳其区Youtube Premium Family(Youtube家庭会员)开通指南

使用了大概有一年多的印度区Youtube家庭会员这个月居然付款被拒,具体原因是目前Youtube印度区只支持印度地区的银行卡进行支付,这就没得玩了,搜了下,网上不少同学都是这个月失效的。 支付时...
ddmit的头像-DdmitDdmit3年前
013290
Alist运行报错:failed get storage: can't find storage with rawPath解决-Ddmit

Alist运行报错:failed get storage: can’t find storage with rawPath解决

Alist初次云盘报错。 一、错误信息 failed get storage: can't find storage with rawPath: / 登录 二、出错原因 没有配置存储。 三、解决 进入解压目录 alist.exe admin 登录之后,点击下方“...