
springboot
zhuanghw全栈工程师
原用名 zhw0596
个人小程序:迅风去水印、西瓜泰斗、playTodo清单
个人公众号:得已科技、好风壁纸
展开
-
整合spring boot admin 异常Connection refused: no further informati
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /127.0.0.1:6379报错原因是redis没有打开。若报错的端口: /127.0.0.1:9001是你的服务时,不用怀疑,直接换个端口即可恢复正常或者重启服务器、本地电脑...原创 2021-12-05 17:54:32 · 3398 阅读 · 0 评论 -
谷歌浏览器提示:无法访问此网站网址为 http://localhost:6667/XXX/XXX 的网页可能暂时无法连接,或者它已永久性地移动到了新网址
谷歌浏览器访问地址 http://localhost:6666/XX/XX 时提示:网址为 http://localhost:6667/XXX/XXX 的网页可能暂时无法连接,或者它已永久性地移动到了新网址。 ERR_UNSAFE_PORT(Postman和360浏览器能访问)网上找了一下解决方案,原来是浏览器的问题,Chrome自己默认觉得一些端口号是不安全的,所以不允许发起请求,直接返回服务无法访问页面。访问路径中带有以下端口会直接返回服务无法访问页,具体如下:1, // tcpmux7,原创 2021-07-09 17:08:17 · 8420 阅读 · 2 评论 -
Maven引入本地jar包,解决打包时找不到本地jar包
由于 缺少部分引入jar包,服务器运行jar包时,会出现异常 找不到文件Constructor threw exception; nested exception is java.lang.NoClassDefFoundError:XXX引入本地jar包的代码如下:<dependency> <groupId>local-sdk&l...原创 2019-12-02 16:25:29 · 5050 阅读 · 0 评论 -
Springboot统一跨域配置
package com.example.task.config;/** * @Author:得已 * @Date: 2019/11/21 19:52 * @Description: */import org.springframework.context.annotation.Bean;import org.springframework.context.annotation....原创 2019-11-21 19:56:34 · 527 阅读 · 0 评论 -
后台项目框架搭建(一)-----springboot+jpa+swagger+log4j2
新建项目POM文件 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa<...原创 2019-10-14 23:47:33 · 413 阅读 · 0 评论