自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

原创 下载jar包出错问题

jar包下载不上,可以使用阿里云服务下载放到maven/conf/settings.xml配置里面去,主要标签不要重复<profiles> <profile> <id>nexus-aliyun-releases</id> <repositories> <repository> <id>n

2021-08-19 15:08:32 202

原创 把数组里的名称按首字母排序

/** * 把地区名称按首字母排序 */public class App { public static void main(String[] args) { List<String> data = new ArrayList<String>(); data.add("上海"); data.add("天津"); data.add("北京"); data.add("深圳");

2021-08-11 17:01:59 275

原创 排序 - 雪花算法

/** * 雪花算法-排序 */public class demo1 { public static void main(String[] args) { int[] arr= new int[]{44,5,77,9,26,98,23,55}; //控制多少轮 for (int i = 1; i < arr.length; i++) { //控制每一轮的次数 for (int j = 0; j

2021-08-11 16:56:43 496

原创 计算数组里面字符出现的次数

/** * 计算数组里面字符出现的次数 */public class Demo5 { public static void main(String[] args) { String str= "woaiwodezuguo"; char[] chars= str.toCharArray(); Map<String, Integer> map = new LinkedHashMap<>(); for (char

2021-08-11 16:54:40 344

原创 解决:Cannot access org.bson.types.ObjectId

导致该问题的原因是jar版本不匹配导致的:spring-data-mongodb会自动导入一个mongodb-driver包,该包与项目引入的包版本不一致导致的问题解决方案:pom文件里添加<dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-mongodb</artifactId>

2021-01-12 20:41:42 1970 1

原创 解决:Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean

报错问题:***************************APPLICATION FAILED TO START***************************Description:The bean 'restTemplate', defined in class path resource [com/tanhua/server/config/RestTemplateConfig.class], could not be registered. A bean with that

2021-01-12 19:39:46 35967 7

原创 解决:Consider defining a bean of type ‘org.springframework.web.client.RestTemplate‘ in your

***************************APPLICATION FAILED TO START***************************Description:Field restTemplate in com.tanhua.sso.service.HuanXinTokenService required a bean of type 'org.springframework.web.client.RestTemplate' that could not be foun

2021-01-12 19:26:34 7499 4

原创 解决:Failed to determine a suitable driver class(Spring Boot框架)

报错 :Failed to determine a suitable driver class(Spring Boot框架). ____ _ __ _ _/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \\\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_...

2020-12-29 16:20:34 1467

原创 解决:Caused by: java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library:

在使用虹软人脸识别中报的错误,无法加载到虹软包路径Caused by: java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: D:DevelopArcSoft_ArcFace_Java_Windows_x64_V3.0libsWIN64\libarcsoft_face.dll解决办法找到配置文件properties里的虹软配置arcsoft.libPath=D:\Develop\ArcSoft_Arc

2020-12-28 19:20:58 6044 1

springmvc_exception-1.0-SNAPSHOT.war

SpringMVC文件上传war包

2021-03-15

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除