摘要:
zkServer.sh status 命令查看zookeeper集群的状态,发现异常 Error contacting service. It is probably not running 最开始以为是server配置的myid有问题,后面看了下zookeeper.out文件,发现连接不到端口,有 阅读全文
摘要:
import org.springframework.beans.BeansException;import org.springframework.context.ApplicationContext;import org.springframework.context.ApplicationCo 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="10 seconds" debug="false"> <!--上下文名称--> <contextName>logback</contextNam 阅读全文
摘要:
若偶尔报错no operations allowed after connection closed
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
spring:
datasource:
# 数据源-1
primary:
url: jdbc:mysql://127.0.0.1:3306/test1?useSSL=false&autoReconnect=true&characterEncoding=utf8
driver-class-name: com.mysql.jdbc.Driver
username: root
password: root 阅读全文
摘要:
License name: https://zhile.io Activation code: 3AGXEJXFK9-eyJsaWNlbnNlSWQiOiIzQUdYRUpYRks5IiwibGljZW5zZWVOYW1lIjoiaHR0cHM6Ly96aGlsZS5pbyIsImFzc2lnbmV 阅读全文
摘要:
继承DefaultCommentGenerator 或者CommentGenerator package com.zhianchen.mysqlremark.toword.config;import org.apache.commons.lang3.StringUtils;import org.my 阅读全文
摘要:
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-compress --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons 阅读全文
摘要:
#user nobody; user root; worker_processes 1; error_log /spdblogs/nginx/logs/error.log; error_log /spdblogs/nginx/logs/notice.log notice; error_log /sp 阅读全文
摘要:
老版本的mongodbtemplate连接池的用法 spring: data: mongodb: address: 127.0.0.1:37017 replica-set: database: xxx username: xxx password: xxxx # Configure spring.d 阅读全文
摘要:
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid 阅读全文