![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Weirdo Exception
Weirdo Exception
技术路上的小学生
这个作者很懒,什么都没留下…
展开
-
kafka生产者消费者生产数据时报Error while fetching metadata with correlation id 异常
错误描述:生产数据产生解决方案:# kafka的server.properties配置文件修改vim /opt/kafka/config/server.properties# 监听主机:端口,这个必须开启,否则绝对报异常{LEADER_NOT_AVAILABLE}listeners=PLAINTEXT://192.168.227.133:9092...原创 2020-10-23 16:02:04 · 10313 阅读 · 0 评论 -
docker容器内vim无法鼠标右键粘贴
首先确认容器内是否安装了vimapt-get install vim进入/usr/share/vim中cd /usr/share/vim找到vim81进入cd vim81编辑defaults.vimvim defaults.vim找到下面的部分:if has('mouse')set mouse=aendif注意:在mouse=a中的=前加-,如下: if has('mouse') set mouse-=a endif...原创 2020-09-28 11:32:06 · 2116 阅读 · 0 评论 -
docker容器内执行apt-get update报[Connecting to security.debian.org ()]
场景描述:docker容器内执行apt-get update (apt可以想象成软件管家) 报连接异常,如图:解决: # 进入docker容器后执行 apt apt -v apt update apt-get update # 按顺序执行解决了保存问题原创 2020-09-28 10:20:16 · 1543 阅读 · 0 评论 -
NUXT使用swipper在npm run dev报Cannot resolve “swiper/dist/css/swiper.css“
异常描述:npm run dev启动出现如下异常从头说起配置swipper 1、执行 安装npm install vue-awesome-swiper --save 2、plugins下新建nuxt-swipper-plugins.js并添加: import Vue from 'vue' import VueAwesomeSwiper from 'vue-awesome-swiper' Vue.use(VueAwesomeSwiper) 3、在nuxt.confi原创 2020-07-15 18:35:27 · 1153 阅读 · 0 评论 -
springCloud远程调用Feign接口启动服务时报java.lang.IllegalStateException: Service id not legal hostname
异常信息java.lang.IllegalStateException: Service id not legal hostname at org.springframework.util.Assert.state(Assert.java:73) ~[spring-core-5.0.11.RELEASE.jar:5.0.11.RELEASE] at org.springframework.cloud.openfeign.FeignClientsRegistrar.getName(FeignClien原创 2020-07-14 22:48:14 · 1227 阅读 · 0 评论 -
element-ui组件MessageBox 弹框确认消息报Uncaught (in promise) error
问题场景:前端使用vue-admin-teamplate-master搭建,写了删除一行数据的功能,在按钮点击删除后提示删除成功,但是随后先报了绿框提示删除成功,随后弹出红框但是没有提示信息,浏览器F12显示Uncaught (in promise) error。组件地址:element-ui组件地址源码:首先是index.vue页面部分点击事件绑定 //删除的方法 removeDataById(id) { // console.log(id) //调用方法根据id删原创 2020-06-27 17:50:49 · 1347 阅读 · 1 评论 -
vue-admin-template模板登录出现 timeout of 5000ms exceeded
这个错误导致困扰两小时未过,npm run dev后就是登录不上去,然而在修改代码时出现了一下错误:上面这个错误的解决办法是:修改build/webpack.base.conf.js文件中红框这句注释掉则代码不会那么规范不影响。到这里莫名其妙的在我npm run dev 后台可以登录了,不确定是否是以上错误导致,但是这个方法如果有类似情况不妨可以试一试!!!...原创 2020-06-26 16:43:51 · 4087 阅读 · 0 评论 -
java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path
异常信息服务器500错误org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path 'http:...原创 2020-03-13 01:13:11 · 1946 阅读 · 0 评论 -
tomcat8.5高版本不支持RESTful风格PUT、DELETE
出现连锁错误,先是405,后是404,首先在跳转jsp页面头标签加isErrorPage=“true”<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isErrorPage="true"%><!DOCTYPE html><html&...原创 2020-03-05 11:10:45 · 1113 阅读 · 0 评论 -
check the manual that corresponds to your MySQL server version for the right syntax to use nea异常解决方法
java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-4,4' at line 1 Query: select id,title,aut...原创 2020-02-24 20:23:18 · 1198 阅读 · 0 评论 -
mvn site报错解决方案
说白了就是jar包冲突问题在pom.xml中加入:<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</art...原创 2019-12-21 21:40:51 · 405 阅读 · 0 评论 -
RESTFUL风格PUT报错405解决方法
看网上有人是说tomcat版本要7及以下,因为我用的8.5不想换,所以处理方法如下前台<form action="testREST" method="post"> <input type="hidden" name="_method" value="PUT"/> <input type="submit" value="测试PUT" /> </...原创 2019-11-03 23:38:16 · 3267 阅读 · 2 评论