上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 58 下一页
摘要: 9001 POM.XML <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins 阅读全文
posted @ 2020-03-25 22:34 VipSoft 阅读(646) 评论(0) 推荐(0)
摘要: 新建一个配置类 package com.cloud.client.user.feign; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanDefi 阅读全文
posted @ 2020-03-25 10:46 VipSoft 阅读(4929) 评论(0) 推荐(1)
摘要: Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_191] at java.lang.Cla 阅读全文
posted @ 2020-03-25 09:43 VipSoft 阅读(4582) 评论(0) 推荐(0)
摘要: 如图 这两文件夹是 IDEA 自动生成的,在开发过程中用不到它。可以把它隐藏(不在 IDEA中显示),操作如下: 2024 版本设置如下 OK后,立即生效 阅读全文
posted @ 2020-03-25 08:41 VipSoft 阅读(1102) 评论(0) 推荐(0)
摘要: [root@localhost ~]# docker pull zookeeper Using default tag: latest latest: Pulling from library/zookeeper 68ced04f60ab: Already exists 4874c5772968: 阅读全文
posted @ 2020-03-22 17:36 VipSoft 阅读(851) 评论(0) 推荐(0)
摘要: 安装 ElasticSearch https://www.elastic.co/guide/cn/index.html [root@localhost ~]# docker pull elasticsearch Using default tag: latest latest: Pulling fr 阅读全文
posted @ 2020-03-22 16:27 VipSoft 阅读(453) 评论(0) 推荐(0)
摘要: 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 阅读(3964) 评论(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 阅读(19753) 评论(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 阅读(398) 评论(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 阅读(843) 评论(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 阅读(3049) 评论(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 阅读(251) 评论(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 阅读(290) 评论(0) 推荐(0)
摘要: 服务器环境建好以后,如果要扩展,只需要执行(详细命令到下文中找)docker run .....发完版本需要重启服务,执行(详细命令到下文中找)docker restart [容器的ID] 将文件传到 tomcat 下,可参考 Docker cp 将宿主机上的文件复制到容器中 准备文件 apache 阅读全文
posted @ 2020-03-09 15:20 VipSoft 阅读(1736) 评论(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 阅读(21426) 评论(2) 推荐(1)
摘要: SecureCRT 默认是选择复制、右击粘贴 但右击粘贴这个功能实在是太方便了,有时候会造成不必要的麻烦。所以一般情况下我是取消这个应用的 设置如下图所示,把勾取消就OK了 阅读全文
posted @ 2020-03-09 09:59 VipSoft 阅读(1478) 评论(0) 推荐(0)
摘要: 在项目中如果把所有的日志都记到一个 info.log 分析起来会很麻烦,中间夹着不同业务产生的日志,所以我们需要将不同的业务日志拆分到不同的文件中,便于日志分析。 一般日志文件的命名为:xxx.info.log 、xxx.error.log,如下图 一般 error 的日志我们重点关注。如果业务日志 阅读全文
posted @ 2020-03-07 19:18 VipSoft 阅读(1575) 评论(0) 推荐(0)
摘要: 照着教程弄的第一个 DEMO,结果启不来。 解决办法:在Controller 上面加上 @EnableAutoConfiguration 成功启动 Demo的其它内容及配置如下图,新建一个 空的 Maven 项目 Pom.xml 主界面: Control.java 运行报错 :: Spring Bo 阅读全文
posted @ 2020-03-06 08:49 VipSoft 阅读(5017) 评论(0) 推荐(0)
摘要: 8ml*20片/盒、100mg*12粒/盒, 一看就能看出 1盒 = 20 片、1盒=12粒 可以用正则提取出想要的数据: 转换系数(20) : \d+(?=[\u4E00-\u9FA5]/) 拆零单位(片) : [\u4E00-\u9FA5](?=/) 最小包装单位(盒): (?<=/)[\u4E 阅读全文
posted @ 2020-03-03 17:36 VipSoft 阅读(972) 评论(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 阅读(799) 评论(0) 推荐(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 58 下一页