- 博客(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关注的人