![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
HiJohnnyBoy
love and share
展开
-
Springboot项目集成dependency-check
这里写自定义目录标题Springboot项目集成dependency-check用法:在target目录中创建dependency-check-report.htmlSpringboot项目集成dependency-check用法:在target目录中创建dependency-check-report.html1.pom.xml文件中加入依赖<dependency> ...转载 2020-05-08 09:47:29 · 1545 阅读 · 0 评论 -
springboot配置静态资源映射
第一种方式:注入一个WebMvcConfigurer对象(springboot中所有的WebMvcConfigurer对象会一起起作用)import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.spring...转载 2020-04-28 13:14:17 · 511 阅读 · 0 评论 -
SpringBoot Controller类接收多个List对象的解决办法
SpringBoot Controller类接收多个List对象的解决办法发送的参数:{"id":1, "shiftDetails":[{"id":1,"lineId":2}], "broadcasts":[{"id":1,"lineId":1,"imgPath":"TEST1"}, {"id":2,"lineId":2,"imgPath":"TEST2"...转载 2020-04-16 14:03:17 · 4078 阅读 · 0 评论 -
springboot创建webapp目录文件夹
springboot创建webapp目录文件夹项目右键–>buildpath–>AddFolder2.输入创建的文件夹名称3设置过滤条件创建webaap文件夹完毕,resources雷同(去掉第四第五步)...原创 2019-07-06 11:45:15 · 1956 阅读 · 0 评论 -
generatorConfig.xml 代码生成器
generatorConfig.xml 代码生成器<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://...原创 2019-07-12 16:24:58 · 512 阅读 · 1 评论 -
maven引入本地jar不能打入部署包的问题解决
maven引入本地jar不能打入部署包的问题解决转载https://jingyan.baidu.com/article/215817f74877021edb142378.htmljava项目通过maven依赖构建,一般依赖的jar文件都是通过maven配置后从本地仓库查找,如果没有则从中央仓库或私服中远程下载,但有时候引用的jar文件远程仓库中没有,则可以配置本地系统路径来引用,也可以先将本地...转载 2019-07-19 19:07:31 · 1726 阅读 · 0 评论 -
Spring-boot 打成jar包后使用外部配置文件
Spring-boot 打成jar包后使用外部配置文件转载 https://blog.csdn.net/qq_34267204/article/details/82765483官网说明第一种是在jar包的同一目录下建一个config文件夹,然后把配置文件放到这个文件夹下;第二种是直接把配置文件放到jar包的同级目录;第三种在classpath下建一个config文件夹,然后把配置文件放进...转载 2019-07-19 19:09:10 · 304 阅读 · 0 评论