
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
当有多个参数时不能直接传入List,要用注解将参数传进去原代码List<Tag> findTagsByTagIds(List<Long> tagIds);修改后代码List<Tag> findTagsByTagIds(@Param("tagIds") List<Long> tagIds);问题解决!...
application文件spring:application:name:datasource:driver-class-name: com.mysql.cj.jdbc.Drivertype: com.alibaba.druid.pool.DruidDataSourceurl: jdbc:mysql://localhost:3306/xxx?useSSL=false&useUnicode=
情况如下:第一个模块是 common模块第二个模块是 service模块在service中想要调用common模块中的方法:需要将common模块导入service的pom.xml文件当中<dependency><groupId>com.xxx</groupId><artifactId>common</artifactId><ver
# Redis configuration file example.## Note that in order to read the configuration file, Redis must be# started with the file path as first argument:## ./redis-server /path/to/redis.conf# Note on unit

1、统一返回结果@Datapublic class Result {@ApiModelProperty("返回码")private Integer code;@ApiModelProperty("返回信息")private String msg;@ApiModelProperty("返回数据")private Object data;public static Result success() {
docker更换镜像源之后一定要重启守卫。

1、导入依赖<dependency><groupId>io.springfox</groupId><artifactId>springfox-swagger2</artifactId><version>2.9.2</version></dependency><!-- https
【报错】Spring Boot ClassNotFoundException org.springframework.core.metrics.ApplicationStartup原因是依赖导包版本的问题发现pom.xml有一个dependence自带了版本<dependency><groupId>org.springframework</groupId><
java: 程序包org.springframework.boot不存在java: 程序包org.springframework.boot.autoconfigure不存在java: 找不到符号解决方法:勾上之后就可以正常运行了。
application文件spring:application:name:datasource:driver-class-name: com.mysql.cj.jdbc.Drivertype: com.alibaba.druid.pool.DruidDataSourceurl: jdbc:mysql://localhost:3306/xxx?useSSL=false&useUnicode=







