自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 serviceUrl=‘http://localhost:9999/eureka/}, exception=java.net.ConnectException: Connection refused:

解决:加上eureka.client.registerWithEureka=falseeureka.client.fetchRegistry=false就能解决java.net.ConnectException: Connection refused: connect 问题

2021-11-24 19:37:29 489

原创 nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

异常:nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException原因:高版本的JDK中不包含javax.xml.bind包了!修复:在pom.xml文件中添加低版本坐标就能修复解决<dependency> <groupId>javax.xml.bind</groupId> <artifactId>jaxb-api&...

2021-11-20 22:17:29 1301

原创 错误: 不支持发行版本 5Language level is invalid or missing in pom.xml. Current project JDK is 9. Specify la

原因:当前JDK9版本不支持改正:在pom文件里添加<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <versi...

2021-11-20 22:07:35 4549 1

原创 com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `com.

异常:MismatchedInputException原因:请求服务器获得响应数据为jSON集合,而接收是对象类型修复:把对象类型修改List.class就能解决

2021-11-19 16:24:41 12355

原创 spring配置文件 ApplicationContext.xml

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="h...

2021-11-18 12:46:45 135

原创 File类

file 文件 directory 文件夹/目录path 路径pathSeparator ; 分号符separator \ 正斜杠separatorChar \pathSeparatorChar ;getAbsolutePath();获取绝对路径,不管相对绝对都是输出绝对路径getpath 获取路径,传递相对就输出相对,传递绝对就输出绝对路径getname 获取路径结尾部分length 获取文件长度 ,文件不存在返回0exists 判断文件或目录是否...

2021-11-18 11:47:56 153

原创 Git命令

git add hello.txtgit reset head hello.txtgit commit -m "init hello.txt"git init 需要成为本地仓库的文件git clone 远程地址路径git rm 要删除的文件名git config --global user.name "jinna"git config --global email jinna@example.comgit config --listgit conmmit hello.txt 进入vim模.

2021-11-18 11:45:46 763

空空如也

空空如也

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

TA关注的人

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