上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 57 下一页
摘要: 如何VS IIS Express 启动项目后,绑本机IP,让别人可以访问你的网站,方便Debug 一、修改iis配置 1、在web服务器执行后,会运行IIS Express,右击它选择显示所有应用程序: 2、左击第一个localhost,再点击下方出现的配置一栏对应的文件: 3、在打开的配置文件中往 阅读全文
posted @ 2021-05-25 15:22 VipSoft 阅读(436) 评论(0) 推荐(0)
摘要: Filebeat是什么 1、Filebeat是什么?Filebeat是用于转发和集中日志数据的轻量级传送工具。 Filebeat监视用户指定的日志文件或位置,收集日志事件,并将日志数据转发到Elasticsearch或Logstash进行索引。 2、Filebeat和Logstash的关系Logst 阅读全文
posted @ 2021-05-25 14:13 VipSoft 阅读(2988) 评论(2) 推荐(0)
摘要: ELK 版本因为 前面 Elasticsearch 用的 7.9.3 版本,所以 kibana-7.9.3、logstash-7.9.3 都用 7.9.3 版本 安装配置 Elasticsearch Docker 安装 Elasticsearch 修改Elasticsearch配置,可以到容器内部修 阅读全文
posted @ 2021-05-25 13:49 VipSoft 阅读(268) 评论(0) 推荐(0)
摘要: 下载源码包:https://archive.apache.org/dist/skywalking/8.1.0/ -- 创建存放目录 mkdir -p /opt/skywalking -- 进入目录 cd /opt/skywalking -- 下载agentjar wget https://archi 阅读全文
posted @ 2021-05-21 14:54 VipSoft 阅读(796) 评论(0) 推荐(0)
摘要: 前置条件 Docker 安装 Elasticsearch ### 部署服务端 skywalking-oap-server docker pull apache/skywalking-oap-server:8.1.0-es7 docker run --name skywalking-oap-serve 阅读全文
posted @ 2021-05-21 14:46 VipSoft 阅读(1038) 评论(0) 推荐(0)
摘要: SpringBoot Skywalking agent 通过 Dockfile 配置 不生效 ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dspring.profiles.active=${spring_profile 阅读全文
posted @ 2021-05-21 12:12 VipSoft 阅读(810) 评论(0) 推荐(0)
摘要: 如果不指定 xxl.job.executor.ip,默认会用 Docker 的IP,注册到 xxl-job 里面,这时候无法回调 如果xxl.job.executor.ip、xxl.job.executor.address 都赋值,就会出现没端口的情况,具体如下 原因 xxxl.job.ip 为空, 阅读全文
posted @ 2021-05-20 17:19 VipSoft 阅读(4216) 评论(4) 推荐(1)
摘要: 为了Skywalking 准备 elasticsearch 至少 需要2G内存 docker pull elasticsearch:7.9.3 docker run --name elasticsearch -p 9200:9200 -p 9300:9300 \ -e "discovery.type 阅读全文
posted @ 2021-05-19 19:40 VipSoft 阅读(366) 评论(0) 推荐(0)
摘要: https://hub.docker.com/r/sebp/elk 安装ELK镜像 docker pull sebp/elk:793 启动 elk 容器 docker run --name elk --restart always \ -d -p 5601:5601 -p 9200:9200 -p 阅读全文
posted @ 2021-05-19 18:09 VipSoft 阅读(779) 评论(0) 推荐(0)
摘要: 在 Feign 方法里面添加 Header 报 Method has too many Body parameters @PostMapping(value = "/sendsms") String sendSMS(@HeaderMap Map<String, Object> headerParam 阅读全文
posted @ 2021-05-12 10:21 VipSoft 阅读(713) 评论(0) 推荐(0)
摘要: Feign 接口独立项目,报下列错误,原因是缺少指定扫描包 [2021-05-11 22:40:07.676] [main] [WARN ] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception enco 阅读全文
posted @ 2021-05-11 22:48 VipSoft 阅读(185) 评论(0) 推荐(0)
摘要: 解决方案 @Resourceprivate RestTemplate restTemplate; 阅读全文
posted @ 2021-05-11 14:49 VipSoft 阅读(1868) 评论(0) 推荐(1)
摘要: Test 报错时,添加@注释 解决方案: @SpringBootTest(webEnvironment= SpringBootTest.WebEnvironment.RANDOM_PORT)错误如下: org.springframework.beans.factory.UnsatisfiedDepe 阅读全文
posted @ 2021-05-11 13:46 VipSoft 阅读(3770) 评论(0) 推荐(0)
摘要: 基于 MongoDB 读写分离——Windows MongoDB 副本集配置 ,里面配置了一个坑,导致出现下列错误 [2021-05-10 10:06:11.981] [cluster-ClusterId{value='60989513a224157532b8e092', description=' 阅读全文
posted @ 2021-05-10 10:45 VipSoft 阅读(1693) 评论(2) 推荐(1)
摘要: 成员变量的注入是在Bean创建成功之后,通过setter方法进行注入的。所以下面会获取不到值 @RestController public class VipsoftImController { @Autowired private ZooKeeperUtil zooKeeperUtil; @Req 阅读全文
posted @ 2021-04-12 14:57 VipSoft 阅读(407) 评论(0) 推荐(0)
摘要: logback 日志的开发者和log4j 的开发者是一波人,而springboot 默认日志是,较新的logback 日志。 但是在以前流行的日志却是log4j ,而且很多的第三方工具都含有log4j 得引入。 logback.xml 配置文件 排除 zookeeper 中的 log4j12 <de 阅读全文
posted @ 2021-04-09 14:37 VipSoft 阅读(152) 评论(0) 推荐(0)
摘要: Settings -> Inspections -> 注释 取消 “方法内部单行注释 xxxx ” 里面的勾,【设完后重启】如下图 阅读全文
posted @ 2021-04-09 13:44 VipSoft 阅读(1758) 评论(0) 推荐(1)
摘要: Debug的时候碰到这个很烦人得重新运行 工具=>选项=>常规=>调试=>常规 将启用“编辑”并继续,勾取消掉 阅读全文
posted @ 2021-04-01 11:46 VipSoft 阅读(2244) 评论(0) 推荐(0)
摘要: pom文件中引用了 lombok 插件,但Intellij 代码里仍然是红色提示,具体操作如下 Mac 阅读全文
posted @ 2021-03-26 14:34 VipSoft 阅读(1646) 评论(0) 推荐(0)
摘要: MySQL 事务回滚。在执行删除、更新等操作时,防止误操作 生产环境更新数据时必用 begin tran --开启事务 begin--先在事务中 执行 UPDATE Sys_User SET Name='张三' where Id='a46d92fb-5c7b-45e7-8571-5eae426578 阅读全文
posted @ 2021-03-18 09:40 VipSoft 阅读(865) 评论(0) 推荐(0)
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 57 下一页