
Spring-Boot
JSON_ZJS
热爱生活,热爱编程。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
kafka监控软件kafka-eagle搭建 web无法访问
kafka-eagle 无法访问转载 2022-11-26 23:52:30 · 1799 阅读 · 0 评论 -
nacos伪集群安装注意到
1:端口需要隔离开 新版增加GRPC 不要挨着设置ip,否则会出现端口占用。 可以使用 8848 8858 8868 8848GRPC会占用9848 9899 8849: 占用9849 9850 8850: 占用9850 9851 nginx 负载也需要与上述端口 隔离开。 2、配置文件:cluster.conf 不要使用 127.0.0.1 也不要使用阿里云的公网ip 使用内网ip 192.XXX 否则 客户端多实例无法注册上去。 ...原创 2022-05-30 16:33:26 · 1206 阅读 · 0 评论 -
SpringBoot 使用Thymeleaf模板 没有提示
参考文档:IDEA使用Thymeleaf输入 th: 没有智能提示的全新解决办法(写于2020年8月14日) <!DOCTYPE html> <html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"> <html lang="en" xmlns:th="http://www.thymeleaf.org" 解决 ...原创 2021-01-17 17:56:05 · 709 阅读 · 0 评论 -
logback-spring.xml配置文件
logback-spring.xml配置文件 自己改下value="G:/logs/pmp"这个值,如果你相关依赖弄好的话,直接复制粘贴即用 输出的日志文件的名称最好也改下,下文中${log.path}/web_info.log是因为我这个模块就叫web,要改的话,一个appender改两处 集成到springboot的yml格式配置文件的示例: logging: config: classpath:logback-spring.xml level: dao: debug org:原创 2021-01-16 22:59:45 · 238 阅读 · 2 评论 -
Spring-boot IDEA使用注解@ConfigurationProperties时报错解决
使用注解@ConfigurationProperties报错 使用@ConfigurationProperties注解,以前用的挺好没出现问题,换了IDEA的版本使用,发现报错了,具体报错如下: Spring Boot Configuration Annotation Processor not found in classpath 1、添加依赖 <dependency> <...原创 2020-03-11 22:29:14 · 1470 阅读 · 0 评论