上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 61 下一页
摘要: JPA 默认会将实体中的 TABLE_NAME 转成小写如 @Entity @Table(name = "EMPLOYEE") public class Employee { @Id private String id; 会报:java.sql.SQLSyntaxErrorException: Ta 阅读全文
posted @ 2020-03-13 23:54 VipSoft 阅读(3993) 评论(0) 推荐(0)
摘要: ob for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for detail 阅读全文
posted @ 2020-03-13 15:18 VipSoft 阅读(19835) 评论(2) 推荐(0)
摘要: 效果如图: JAVA 代码 public static void main(String[] args) throws Exception { String str = "<row PTID=\"80268175\" ZYH=\"2002868\" XM=\"刘云1\" YZLB=\"0\" YSX 阅读全文
posted @ 2020-03-12 22:10 VipSoft 阅读(412) 评论(0) 推荐(0)
摘要: SQL Server 事务执行、回滚 MySQL 事务回滚。在执行删除、更新等操作时,防止误操作 SELECT * FROM TABLE_NAME I WHERE I.TRANS_NO='P-2019000025'; # 原始数据 START TRANSACTION; SELECT COUNT(1) 阅读全文
posted @ 2020-03-12 15:47 VipSoft 阅读(862) 评论(0) 推荐(0)
摘要: [root@localhost ~]# docker cp /opt/web/docker_cp.txt tomcat9093:/usr/local/apache-tomcat-9.0.31/ [root@localhost ~]# docker exec tomcat9093 ls -l /usr 阅读全文
posted @ 2020-03-12 10:05 VipSoft 阅读(3075) 评论(0) 推荐(0)
摘要: 国外镜像太慢了。可以找一个国内的。比如:https://hub.daocloud.io/ 【其它的应用安装我都是用的 阿里 镜像:https://cr.console.aliyun.com/】 [root@localhost ~]# docker images REPOSITORY TAG IMAG 阅读全文
posted @ 2020-03-12 08:42 VipSoft 阅读(278) 评论(0) 推荐(0)
摘要: 项目中用的 5.7 版本,所以这边命令后面会带上版本号 [root@localhost ~]# docker pull mysql:5.7 docker run -p 3306:3306 --name mysql5.7 -v /conf/mysql:/etc/mysql/conf.d -e MYSQ 阅读全文
posted @ 2020-03-10 17:53 VipSoft 阅读(318) 评论(0) 推荐(0)
摘要: 服务器环境建好以后,如果要扩展,只需要执行(详细命令到下文中找)docker run .....发完版本需要重启服务,执行(详细命令到下文中找)docker restart [容器的ID] 将文件传到 tomcat 下,可参考 Docker cp 将宿主机上的文件复制到容器中 准备文件 apache 阅读全文
posted @ 2020-03-09 15:20 VipSoft 阅读(1753) 评论(0) 推荐(0)
摘要: 1 查看本地已用镜像文件 [root@localhost web]# docker images 2.删除镜像 Redis [root@localhost web]# docker rmi 5958914cc558 报错:image is being used by stopped containe 阅读全文
posted @ 2020-03-09 10:13 VipSoft 阅读(21456) 评论(2) 推荐(1)
摘要: SecureCRT 默认是选择复制、右击粘贴 但右击粘贴这个功能实在是太方便了,有时候会造成不必要的麻烦。所以一般情况下我是取消这个应用的 设置如下图所示,把勾取消就OK了 阅读全文
posted @ 2020-03-09 09:59 VipSoft 阅读(1518) 评论(0) 推荐(0)
摘要: 在项目中如果把所有的日志都记到一个 info.log 分析起来会很麻烦,中间夹着不同业务产生的日志,所以我们需要将不同的业务日志拆分到不同的文件中,便于日志分析。 一般日志文件的命名为:xxx.info.log 、xxx.error.log,如下图 一般 error 的日志我们重点关注。如果业务日志 阅读全文
posted @ 2020-03-07 19:18 VipSoft 阅读(1620) 评论(0) 推荐(0)
摘要: 照着教程弄的第一个 DEMO,结果启不来。 解决办法:在Controller 上面加上 @EnableAutoConfiguration 成功启动 Demo的其它内容及配置如下图,新建一个 空的 Maven 项目 Pom.xml 主界面: Control.java 运行报错 :: Spring Bo 阅读全文
posted @ 2020-03-06 08:49 VipSoft 阅读(5029) 评论(0) 推荐(0)
摘要: 8ml*20片/盒、100mg*12粒/盒, 一看就能看出 1盒 = 20 片、1盒=12粒 可以用正则提取出想要的数据: 转换系数(20) : \d+(?=[\u4E00-\u9FA5]/) 拆零单位(片) : [\u4E00-\u9FA5](?=/) 最小包装单位(盒): (?<=/)[\u4E 阅读全文
posted @ 2020-03-03 17:36 VipSoft 阅读(998) 评论(0) 推荐(0)
摘要: 源码下载地址:https://github.com/vuejs/vue-devtools Make sure you are using Node 6+ and NPM 3+ Clone this repo cd vue-devtools the newly created folder run y 阅读全文
posted @ 2020-02-26 08:57 VipSoft 阅读(820) 评论(0) 推荐(0)
摘要: 添加用户组[root@VipSoft ~]#groupadd admin 添加用户[root@VipSoft ~]#useradd jimmy -m -d /home/jimmy -g admin 修改用户密码[root@VipSoft ~]#passwd jimmy [root@VipSoft / 阅读全文
posted @ 2020-02-25 11:49 VipSoft 阅读(816) 评论(0) 推荐(0)
摘要: SQL SERVER 查询所有表 统计每张表的大小 1.查看所有数据库容量大小 select table_schema as '数据库', sum(table_rows) as '记录数', sum(truncate(data_length/1024/1024, 2)) as '数据容量(MB)', 阅读全文
posted @ 2020-01-03 15:12 VipSoft 阅读(3878) 评论(0) 推荐(1)
摘要: 查询的时候,URL地址会变成 his/list/advice?pageNo=1&pageSize=10&status=0&date[]=2019-11-26&date[]=2019-11-27 不符合URL规范 1.日期转字符串 2.数组转字符串 qs.stringify 注意:v-model="q 阅读全文
posted @ 2019-11-27 18:18 VipSoft 阅读(2068) 评论(0) 推荐(0)
摘要: Vue项目部署Nginx后,刷新页面出现404问题 Ant Design Pro Vue 打包发布到Tomcat后,刷新报错404解决方法 在应用下面加 WEB-INF 建 web.xml 内容如下 <?xml version="1.0" encoding="ISO-8859-1"?> <web-a 阅读全文
posted @ 2019-10-31 18:45 VipSoft 阅读(966) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-10-23 22:03 VipSoft 阅读(1412) 评论(0) 推荐(0)
摘要: 错误如图 原因,返回数据中没有包括分布的属性 阅读全文
posted @ 2019-10-23 18:07 VipSoft 阅读(4031) 评论(0) 推荐(0)
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 61 下一页