上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 59 下一页
摘要: 1. 关闭 Intellij IDEA (2018以下的版本无效),打开 workspace.xml 找到 RunDashboard 节点。添加如果配置 <option name="configurationTypes"> <set> <option value="SpringBootApplica 阅读全文
posted @ 2020-03-29 14:39 VipSoft 阅读(367) 评论(0) 推荐(0)
摘要: 开发修改代码后,无需重启idea的服务。 1 模块中添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</ 阅读全文
posted @ 2020-03-29 12:58 VipSoft 阅读(289) 评论(0) 推荐(0)
摘要: 用的apache-maven-3.6.2 报错,解决方法:降级成 apache-maven-3.6.1 版本 IDEA 报 Unable to import maven project: See logs for details,到log目录下查看详细日志 2020-03-28 22:38:04,5 阅读全文
posted @ 2020-03-28 23:14 VipSoft 阅读(1833) 评论(0) 推荐(0)
摘要: 1.安装 docker-compose 将 docker-compose-Linux-x86_64 传到 /usr/local/bin 目录下,并改名为 docker-compose 2.设置权限 [root@localhost ~]# chmod +x /usr/local/bin/docker- 阅读全文
posted @ 2020-03-28 17:22 VipSoft 阅读(1915) 评论(0) 推荐(0)
摘要: 首先创建一个镜像,点击:创建一个简单的Docker镜像 1.先注册帐号 https://hub.docker.com/ 2.将镜象推上去 [root@localhost docker]# docker login [root@localhost docker]# docker tag hello-k 阅读全文
posted @ 2020-03-28 14:26 VipSoft 阅读(579) 评论(0) 推荐(0)
摘要: 1. 创建 Dockerfile 文件、index.html测试页面 [root@localhost docker]# vi Dockerfile FROM nginx:1.17.6 #基于 nginx 1.17,在build 时,会自动pull 一个 1.17.6 版本的 nginx ENV LA 阅读全文
posted @ 2020-03-28 13:35 VipSoft 阅读(2184) 评论(0) 推荐(0)
摘要: 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 阅读(647) 评论(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 阅读(4584) 评论(0) 推荐(0)
摘要: 如图 这两文件夹是 IDEA 自动生成的,在开发过程中用不到它。可以把它隐藏(不在 IDEA中显示),操作如下: 2024 版本设置如下 OK后,立即生效 阅读全文
posted @ 2020-03-25 08:41 VipSoft 阅读(1136) 评论(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 阅读(853) 评论(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 阅读(458) 评论(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 阅读(3968) 评论(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 阅读(19776) 评论(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 阅读(844) 评论(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 阅读(3054) 评论(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 阅读(253) 评论(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 阅读(293) 评论(0) 推荐(0)
摘要: 服务器环境建好以后,如果要扩展,只需要执行(详细命令到下文中找)docker run .....发完版本需要重启服务,执行(详细命令到下文中找)docker restart [容器的ID] 将文件传到 tomcat 下,可参考 Docker cp 将宿主机上的文件复制到容器中 准备文件 apache 阅读全文
posted @ 2020-03-09 15:20 VipSoft 阅读(1739) 评论(0) 推荐(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 59 下一页