09 2019 档案

摘要:今天做项目时报了一个错提示说Invalid bound statement (not found),也就是说mapper接口绑定.xml文件出错了,找不到指定的sql;原因是程序没有把.xml文件编译到classes路径下,这时需要在pom.xml文件的<build>标签中加入下面的配置解决<res 阅读全文
posted @ 2019-09-28 16:06 少年曾续缘 阅读(328) 评论(0) 推荐(0)
摘要:今天在部署项目的时候报了一个错Error response from daemon: endpoint with name xxx already exists in network host. 意思好像就是xxx的网络已经存在,不知道怎么搞,于是求助于大海找到解决方法: 步骤:停止容器->删除容器 阅读全文
posted @ 2019-09-06 19:29 少年曾续缘 阅读(535) 评论(0) 推荐(0)
摘要:今天想在容器中安装一个pigz插件,于是就在dockerfile中使用RUN命令RUN apt-get install -y pigz结果构建镜像的时候报错Unable to locate package pigz意思也就是说下载不下来这个包,猜想可能是没有更新软件源,于是命令改成RUN apt-g 阅读全文
posted @ 2019-09-06 19:24 少年曾续缘 阅读(6147) 评论(0) 推荐(0)
摘要:在虚拟机上用docker安装了一个mysql最新版,然后在本地用sqlyog区连接报错‘plugin cachin_sha2_password could not be loaded’经过上网搜索发现原因:8.0以上改变了 身份验证插件,打开 my.ini (或者my.cofg) 可以看到变更了 5 阅读全文
posted @ 2019-09-06 19:21 少年曾续缘 阅读(477) 评论(0) 推荐(0)
摘要:#!/bin/bashaweekago=`date -d "7 days ago" +%s`for f in $(ls) do stat -c %Y ${f} aa=`stat -c %Y "${f}"` echo "${f} createtime is ${aa}" if [ ${aweekago 阅读全文
posted @ 2019-09-06 19:20 少年曾续缘 阅读(1046) 评论(0) 推荐(0)