摘要:
springboot使用TestRestTemplate单元测试时,提示ResourceAccess I/O error on POST request for "http 发现如果后台的http状态码返回401则会出现这种情况(其他4XX等可能也会) 解决方案,pom.xml加入 <depende 阅读全文
摘要:
spring boot 连接池 数据库 http 阅读全文
摘要:
项目中使用springboot集成 mybatis,运行过程中查询SQL列在表中不存在,但系统不输出任何错误到控制台 但SQL是打印的,只是没有任何异常信息 将SQL复制出来到数据库中运行,才发现错误 后续将继续排查。。。 阅读全文
摘要:
git 忽略部分文件: git update-index --assume-unchanged .mymetadata 取消忽略: git update-index --no-assume-unchanged 更换远程url: git remote rm origingit remote add o 阅读全文
摘要:
select ct.dt, COUNT(DISTINCT c.id) from tms_service_customer c, tms_dispatch_details d, (select DISTINCT FROM_UNIXTIME(c.create_time/1000,'%Y%m') as d 阅读全文
摘要:
docker inspect -f '{{.State.Pid}} {{.Id}}' $(docker ps -a -q) 阅读全文