logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

springboot 使用 logback 进行日志记录、并对文件日志以日期和大小进行拆分的 demo 示例

1. 描述一个springboot项目使用 logback 记录程序运行过程中的日志, 配置 logback 生成控制台日志和文件日志记录,以及对文件日志以日期和大小进行拆分的 demo示例。环境:IDE(idea):2021.3JDK:1.8maven:3.8.4spring boot:2.5.6logback-classic: 1.2.6 (spring-boot-starter-web --

#logback
The following method did not exist: org.springframework.plugin.core.PluginRegistry.getPluginFor

场景描述springboot 集成 springfox的 swagger 3 功能。环境IDE: 2021.3spring boot: 2.1.7springfox: 3.0.0问题启动项目时,异常:The following method did not exist: org.springframework.plugin.core.PluginRegistry.getPluginFor……。Er

#spring boot
idea弹窗 Placing the unmodified "important.txt" in the zip file with the agent jar in the same directo

idea破解,idea弹窗 Placing the unmodified "important.txt" in the zip…… 问题解决

idea 查看单元测试覆盖率

选择项目或则项目下的文件夹,如:src\main\java结果:

#单元测试
Echarts 使用markLine时,标签重叠或文本重叠

情况如图:option = {xAxis: {type: "category",data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]},yAxis: {},series: [{data: [120, 232, 301, 434, 590, 730, 820],type: "line"},{data: [620, 732, 501, 134,

idea的类注释、方法注释及自定义快捷键

IDEA的类注释、方法注释及自定义快捷键。方法注释1. /** + Enter :eclipse 和 idea 都适用;2.Alt + Enter :选中方法名称(或则光标在方法名称上),然后按快捷键,再选择"add javadoc";3.自定义:自定义快捷键路径(File->Settings->Editor -> Live Templates ->。

#idea
Mockito与 PowerMock 版本对应关系

mockito与powermock 版本对应关系java.lang.ClassNotFoundException: org.mockito.exceptions.Reporterpowermock-api-mockito 与 powermock-api-mockito2

#junit#java
mockito 参数匹配的三种情况

mockito 参数匹配的三种情况:精确匹配、模糊匹配 、自定义匹配。

#junit#java
idea弹窗 Placing the unmodified "important.txt" in the zip file with the agent jar in the same directo

idea破解,idea弹窗 Placing the unmodified "important.txt" in the zip…… 问题解决

    共 11 条
  • 1
  • 2
  • 请选择