上一页 1 2 3 4 5 6 7 8 9 10 ··· 33 下一页
摘要: @Target({ElementType.METHOD, ElementType.FIELD}) @Retention(RetentionPolicy.RUNTIME) @Constraint(validatedBy =MyConstraintValidator.class ) public @in 阅读全文
posted @ 2022-11-21 20:10 余生请多指教ANT 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 最近在整理springsecurity时,发现一个问题 The bean 'metaDataSourceAdvisor',could not be registered.A bean with that name has already been defined 找了半天,看报错也知道某个Bean重 阅读全文
posted @ 2022-11-20 17:52 余生请多指教ANT 阅读(610) 评论(0) 推荐(1) 编辑
摘要: package wangbiao.config.minio; import com.fasterxml.jackson.core.JsonProcessingException; import io.minio.*; import io.minio.errors.*; import io.minio 阅读全文
posted @ 2022-11-07 20:41 余生请多指教ANT 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-10-31 20:35 余生请多指教ANT 阅读(61) 评论(0) 推荐(0) 编辑
摘要: mongodb: ObjectId 的结构: _id 是集合中文档的主键,用于区分文档(记录),_id自动编入索引。默认情况下,_id 字段的类型为 ObjectID,是 MongoDB 的 BSON 类型之一。如果需要,用户还可以将 _id 覆盖为 ObjectID 以外的其他内容。 Object 阅读全文
posted @ 2022-10-31 20:02 余生请多指教ANT 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 这里是给新手介绍的 springboot默认启动是连接数据库的 经常很多人蒙蔽, //无数据源启动 @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class, DataSourceTransactionManagerAut 阅读全文
posted @ 2022-10-28 20:36 余生请多指教ANT 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 1.Spring Boot 访问静态资源的位置(优先级按以下顺序) classpath默认就是resources,所以classpath:/static/ 就是resources/static/ classpath:/META‐INF/resources/ classpath:/resources/ 阅读全文
posted @ 2022-10-28 20:19 余生请多指教ANT 阅读(35) 评论(0) 推荐(0) 编辑
摘要: package com.wangbiao.security.config; import com.alibaba.fastjson.support.spring.FastJsonRedisSerializer; import org.springframework.context.annotatio 阅读全文
posted @ 2022-10-23 22:13 余生请多指教ANT 阅读(111) 评论(0) 推荐(0) 编辑
摘要: /** * @Null 被注释的元素必须为 null * @NotNull 被注释的元素必须不为 null * @AssertTrue 被注释的元素必须为 true * @AssertFalse 被注释的元素必须为 false * @Min(value) 被注释的元素必须是一个数字,其值必须大于等于 阅读全文
posted @ 2022-09-14 11:05 余生请多指教ANT 阅读(11) 评论(0) 推荐(0) 编辑
摘要: package com.inforcreation; import org.springframework.util.CollectionUtils; import java.util.ArrayList; import java.util.List; /**" * 桶排序(Bucket sort) 阅读全文
posted @ 2022-08-31 17:22 余生请多指教ANT 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 33 下一页