![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
异常
tkom
静静思考,不要焦躁! 有舍才有得!
展开
-
错误:Springboot+knife4j访问doc.html返回404
原因:添加的依赖错误,很无语,差别很小,很难注意到//错误的依赖<dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-micro-spring-boot-starter</artifactId> <version>2.0.8</version></dependency>//正确的依赖<原创 2021-09-24 19:04:37 · 1746 阅读 · 0 评论 -
部署Redis集群遇见的异常
1.当在centos7中部署redis集群服务时,报错Node is not empty需要将提示节点中的数据清空,在节点目录中,选择相应端口./redis-cli -p 7001 flushdb2.代码连接redis时,可能出现如下错误:1.redis.clients.jedis.exceptions.JedisConnectionException: Could no...原创 2018-02-26 13:38:44 · 369 阅读 · 0 评论 -
SSM集成WebSocket时出现302错误
错误如下:connection to ‘ws://localhost:8080/hello’ failed: Error during WebSocket handshake: Unexpected response code: 302原因:302表示重定向,一般是由于项目使用了拦截器之类的。我的项目使用了shiro,需要将设置/hello=anon。...原创 2018-04-13 22:43:26 · 4998 阅读 · 7 评论