![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Error报错专区
hah杨大仙
KNOWLEDGE IS POWER
展开
-
【解决】may missing <script lang=“ts“> / “allowJs“: true / jsconfig.json.volarView Problem
现象:不影响正常运行,但是提示错误信息。其实已经有了答案,按照提示添加即可。添加完成后保存,check报错点。原创 2023-02-22 19:10:54 · 3585 阅读 · 0 评论 -
【解决】remote: error: GE007: Your push would publish a private email address.
Total 77 (delta 9), reused 0 (delta 0), pack-reused 0remote: Powered by GITEE.COM [GNK-6.4]remote: error: GE007: Your push would publish a private email address. remote: You can make your email public or disable this protection by visiting:原创 2023-02-19 20:41:26 · 554 阅读 · 0 评论 -
Exception in thread “main“ java.lang.NoClassDefFoundError: freemarker/template/Configuration
使用自制mybatis-plus生成代码时报错。缺少freemarker依赖。原创 2023-02-19 14:24:45 · 741 阅读 · 0 评论 -
解决Public Key Retrieval is not allowed
可以看到默认值是false,不允许公开密钥检索。再次测试连接,即可成功。原创 2023-02-19 12:40:56 · 198 阅读 · 0 评论 -
java: 无法访问org.springframework.boot.SpringApplication
由于我喜欢尝试新的,就选择了2目前最高的版本。网上查阅了一些资料,众说纷纭。如图所示,降低版本吧,少年。原创 2023-02-18 20:20:03 · 223 阅读 · 0 评论 -
IDEA 报错 Cannot resolve symbol ‘java‘ ..
环境什么的都配置好了,结果在查看项目的时候发现所有java基本类型都会报错 Cannot resolve ..如下图所示:reason:IDEA没有配置jdk。原创 2023-02-12 22:48:12 · 1187 阅读 · 0 评论 -
Mac安装Homebrew排坑大全..
BACKGROUND: 安装Homebrew嘎嘎报错!原创 2023-02-12 18:51:05 · 1066 阅读 · 1 评论 -
【解决】nvm报错:exit status 1: ��û���㹻��Ȩ��ִ�д˲�����
报错如图所示:场景:使用nvm use 切换npm版本时exit status 1: ��û���㹻��Ȩ��ִ�д˲�����属实苦恼了我很久解决方案以管理员身份运行成功!!在idea中查看..Thanks...原创 2022-04-27 11:16:31 · 4316 阅读 · 3 评论 -
【解决】ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1650933721
报错信息:登陆服务器后,出现如下所示错误:ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1650933721解决方案:如图所示,按提示在命令行进行操作abrt-cli list --since 1650933721abrt-auto-reporting enabled操作完成后重新连接即可..Thanks...原创 2022-04-26 13:21:16 · 8527 阅读 · 2 评论 -
A bean with that name has already been defined in class path resource [.] and overriding is disabled
A bean with that name has already been defined in class path resource [org/springframework/cloud/commons/security/ResourceServerTokenRelayAutoConfiguration.class] and overriding is disabled.完整报错信息如下:***************************APPLICATION FAILED TO ST原创 2022-04-24 20:23:06 · 3634 阅读 · 0 评论 -
【解决】java: 程序包org.springframework.data.redis.connection不存在
今儿周末打算自己写个demo玩玩,结果..这玩意给我卡半个点。java: 程序包org.springframework.data.redis.connection不存在老烦了,开始以为缓存问题,结果怎么清缓存都不好使。然后去调了一下依赖位置,好了....Thanks ...原创 2022-04-24 10:00:22 · 5283 阅读 · 0 评论 -
解决Invalid VCS root mappings:The following directories are registered as VCS roots, but they are not:
错误信息:Invalid VCS root mappingsThe following directories are registered as VCS roots, but they are not: <Project>\firepig\firecontrol <Project>\firepig\firecontrol-audit-sqlop不影响运行,看着难受。解决找到 File -> Settings移除掉报红的错误远程仓库地址.原创 2022-04-19 16:17:18 · 5330 阅读 · 1 评论 -
【解决】Kibana server is not ready yet:Docker启动kibana迟迟未成功
搭建elk时kibana一直显示Kibana server is not ready yet...等了很久,才意识到事情并没有这么简单。使用docker命令查看kibana日志:在最后可看到如下错误信息:{"type":"log","@timestamp":"2022-04-13T09:01:06+00:00","tags":["error","elasticsearch-service"],"pid":8,"message":"Unable to retrie...原创 2022-04-13 17:34:04 · 4220 阅读 · 0 评论 -
【解决】/bin/bash^M: 坏的解释器: 文本文件忙
在Linux系统执行脚本命令时 报错:/bin/bash^M: 坏的解释器: 文本文件忙看到很多小伙伴在linux环境下(搭建redis集群)时执行脚本命令都遇到了这个错误Docker搭建redis集群(三主三从)【图文详解】_hah杨大仙的博客-CSDN博客查阅了一些资料,特在此汇总了前辈们的经验,望大家知悉来龙去脉。问题所在:Linux下编写shell脚本,赋予权限即可直接运行。 Windows下编写,编写完毕后传到服务器上执行,有时候会出现坏的解释器,如上图所示错误。..原创 2022-04-13 13:58:40 · 7466 阅读 · 0 评论 -
【解决】Waiting for the cluster to join...配置redis集群时的坑
>>> Nodes configuration updated>>> Assign a different config epoch to each node>>> Sending CLUSTER MEET messages to join the clusterWaiting for the cluster to join.............................................................原创 2022-04-12 19:53:23 · 2869 阅读 · 0 评论 -
【Error】max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
es启动报错:ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.bootstrap check failure [1] of [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at原创 2022-04-12 09:41:50 · 5115 阅读 · 0 评论 -
【解决】Avoid mutating a prop directly since the value will be overwritten whenever the parent compon...
完整报错信息:[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "disabled"需求是希望在修改时更改整个表单的禁用属性为fal原创 2022-04-05 17:29:27 · 5809 阅读 · 1 评论 -
已解决【Error】Cannot call sendError() after the response has been committed
报错:Cannot call sendError() after the response has been committed如图所示:解决方案:很简单,报错就是字面意思,一定是多次response导致;造成异常的错误代码如下报错详细信息:java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.原创 2022-04-04 17:13:47 · 6065 阅读 · 2 评论 -
【解决】pom.xml文件图标颜色问题
导入的项目刷新完依赖后无法识别为maven项目,清缓存,打包,编译,执行Maven命令都能通过,但不能运行,也不报错。如图所示:右键pom.xml,找到Add as Maven Project即可;如图所示:稍候片刻即可回复正常神清气爽Thanks ...原创 2022-04-02 16:12:49 · 1282 阅读 · 0 评论 -
【解决】When allowCredentials is true, allowedOrigins cannot contain the special value “*“ since
详细报错信息:java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access-Control-Allow-Origin" response header. To allow credentials to a set of origins, list t原创 2022-03-21 07:18:37 · 12714 阅读 · 0 评论 -
【已解决】Cannot resolve plugin org.apache.maven.plugins:maven-compiler-plugin:<unknown> 爆红但不影响项目启动
今天导入ruoyi项目时,Maven插件嘎嘎报错,虽然不影响运行,但看着就很不爽,立誓不解决不睡觉;于是乎,就到了这个点..废话不多说,直接上方案;报错信息:Cannot resolve plugin org.apache.maven.plugins:maven-compiler-plugin:<unknown>报错如图所示:ps:这里必须再啰嗦吐槽一下,我是那个在网上各种查啊,什么改变仓库镜像地址,添加镜像地址这啊那的,再什么修改IDEA->...原创 2022-03-18 23:35:54 · 17333 阅读 · 11 评论 -
【解决】SpringBoot pom.xml中spring-boot-maven-plugin插件报红
创建 SpringBoot 项目时 pom.xml 中添加的插件报红spring-boot-maven-plugin 如图所示原因是版本问题,需要添加版本信息。添加2.3.4.RELEASE依然不奏效的话,那么使用2.2.6.RELEASE或更低版本即可。Thanks...原创 2022-01-06 14:05:18 · 1266 阅读 · 0 评论 -
【Error】Spring整合ElasticSearch启动项目报错:availableProcessors is already set to [8], rejecting [8]
详细报错信息:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'elasticsearchTemplate'; nested exception is org.springframework.beans.factory.BeanCr原创 2021-12-26 13:48:22 · 1504 阅读 · 0 评论 -
ERROR org.springframework.test.context.TestContextManager 【使用Dubbo框架编写Junit测试类时遇到的坑】
解决方案:由于使用的是Dubbo框架,因此在我们确认Junit单元测试环境没有问题的前提下:首先检查是否开启Dubbo服务; 其次,若测试类编写在消费者consumer模块,则需先检查是否开启提供者provider服务;启动对应服务即可解决问题。详细报错信息如下:[main] ERROR org.springframework.test.context.TestContextManager - Caught exception while allowing TestE...原创 2021-12-20 20:07:54 · 2832 阅读 · 0 评论 -
Cannot download sources.Sources not found for: cn.hutool:hutool-all:5.7.17 无法下载源码【已解决】
Cannot download sources.Sources not found for: cn.hutool:hutool-all:5.7.17今天在使用hutool工具类时想下载源码查看其中方法的注释,点进源码点击Download Sources时提示Cannot download sources.Sources not found for: cn.hutool:hutool-all:5.7.17 百思不得齐姐如图所示找到Terminal,将如下命令复制并执行即可mvn d..原创 2021-12-10 17:37:33 · 4124 阅读 · 0 评论 -
IDEA闪退提示:There is not enough memory to perform the requested operation..【已解决】直接有效
今天在Maven项目中引入支付宝支付依赖时idea一直弹出警告框提示:There is not enough memory to perform the requested operation..最直接有效的解决方案如图所示操作:调整图示的参数值:)(修改前)修改后操作完成后清理缓存重启IDEA即可Restart问题解决如有错误,欢迎指正Thanks...原创 2021-11-30 22:11:21 · 4543 阅读 · 3 评论 -
【已解决】Java HotSpot(TM)64-Bit Server VM warning: Cannot open file logs/gc.log due to Permission denied
启动elasticsearch时警告warning:【已解决】:Java HotSpot(TM)64-Bit Server VM warning:Cannot open file logs/gc.log due to Permission denied...这也不算是报错,但是看着警告就很难受。警告提示我们什么呢:虚拟机热部署的问题;解决方式:...原创 2021-11-26 14:55:20 · 8003 阅读 · 1 评论 -
启动elasticsearch报错:Exception in thread “main“ org.elasticsearch.bootstrap.BootstrapException:...【已解决】
启动elasticsearch报错:Exception in thread "main" org.elasticsearch.bootstrap.BootstrapException: java.nio.file.AccessDeniedException: /opt/es/config/elasticsearch.keystoreLikely root cause: java.nio.file.AccessDeniedException:/opt/es/config/elasticsearch.keys原创 2021-11-26 14:26:08 · 7098 阅读 · 1 评论 -
启动elasticsearch时报错:Could not load plugin descriptor for plugin directory [ik]【已解决】
之前把ik分词器移除了,今天重新装上后,启动elasticsearch失败。在Linux系统中以后台方式启动还不显示错误信息,使用jps查询进程也未果。于是以前台的方式启动查看了一下日志,果不其然,有报错:仔细一瞧,原来是ik分词器在作祟。报错信息如下:Caused by: java.lang.IllegalStateException: Could not load plugin descriptor for plugin directory [ik] at org.el...原创 2021-11-24 14:44:31 · 5706 阅读 · 1 评论 -
Could not autowire. No beans of ‘xxx‘ type found.使用@Autowired注入对象时无法注入,飘红报错【已解决】
相信大家一定都有遇到过这种情况:在使用@Autowired注入对象时,提示无法注入,代码飘红。虽然不影响程序正常运行,但这可把我难受坏了。鼠标放上去后报错信息如图所示:Could not autowire. No beans of 'xxx' type found.鼠标放上去后提示:虽然不影响程序正常运行,但是这能忍..?!我不能忍。看到有朋友为了让它飘红就把报错提示给关闭了,但这治标不治本。解决方案其实很简单:在你对应的xml配置文件中引入: <!--项目路.原创 2021-11-23 15:40:04 · 557 阅读 · 0 评论 -
WARN Session 0x0 for server null,unexpected error,closing socket connection and attempting reconnect
Kafka报错异常解决;WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)java.net.NoRouteToHostException: 没有到主机的路由;解决方式:.........原创 2021-11-21 20:05:35 · 10543 阅读 · 1 评论 -
RedisConnectionFailureException:Cannot get Jedis connection;Could not get a resource from the pool解决
完整报错信息org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool因此,我们只需对症下药即可.........原创 2021-11-20 20:32:53 · 5433 阅读 · 0 评论 -
kafka创建主题时循环报错 java.net.ConnectException: 拒绝连接...【已解决】
今天犯了一个很低级的错误,导致循环报错:拒绝连接。报错信息如下:java.net.ConnectException: 拒绝连接 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at org.apache.zookeeper.ClientC原创 2021-11-18 14:20:56 · 2588 阅读 · 1 评论 -
install Maven项目时报错:Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4【已解决】
这个问题还是很好解决的,根据报错信息显而易见,报错是缺少插件而造成的。因此只需在pom.xml中加入如下插件即可:...添加完成后刷新依赖,再次使用install即可成功!!原创 2021-11-17 17:50:44 · 5256 阅读 · 0 评论 -
Linux [Error]使用 yum 安装计划任务功能报错Another app is currently holding the yum lock; waiting for it to exit.
今天重新为我的Linux系统安装mysql,使用yum时报错:(其实也不算报错)一直在循环提示:Another app is currently holding the yum lock; waiting for it to exit...Another app is currently holding the yum lock; waiting for it to exit...Another app is currently holding the yum lock; waiting fo.原创 2021-11-15 13:42:58 · 679 阅读 · 0 评论 -
Linux [Error]错误:激活连接失败:No suitable device found for this connection.无网络图标【已解决】
今天在使用虚拟机时,发现网络图标消失了,使用ifup ens33时报错:(报错信息如下)激活连接失败:No suitable device found for this connection.解决方案:在命令行使用如下两行代码即可。mv /var/lib/NetworkManager /var/lib/NetworkManager.bakreboot此时网络小图标便回归啦!如有错误,欢迎指正Thanks...原创 2021-11-15 13:16:25 · 7202 阅读 · 2 评论 -
Linux [Error]useradd: existing lock file /etc/gshadow.lock without a PID;无法锁定...创建用户报错【已解决】
在使用 useradd xxx 创建用户时报错:报错信息:useradd: existing lock file /etc/gshadow.lock without a PIDuseradd:无法锁定 /etc/gshadow,请稍后再试。错误如图所示:解决方案:使用如下命令删除该lock文件就可以正常创建啦(如图所示)rm -rf /etc/gshadow错误解决!成功创建用户~希望对你有帮助~如有错误,欢迎指正Thanks...原创 2021-11-14 19:48:22 · 5634 阅读 · 4 评论 -
Linux [Error]修改配置文件/etc/profile后,-bash:xxx:command not found(未找到命令...)【已解决】
今天给刚装的Linux系统搭建jdk环境,刚刚配置好jdk配置文件,发现除了cd进出文件夹,几乎所有命令都失效了,很明显是配置出了问题。于是就到处查阅资料,现已解决,特在此分享给大家。愿各位都没有报错!!错误信息:-bash:xxx:command not found(未找到命令...)如图所示:除了使用cd进出文件,其他几乎无论什么命令都不好使。原因:系统会在执行命令时去系统环境变量中去寻找,如未找到就会报该错误。bin(存放常用命令的目录)出了问题解决方式:(执行如下.原创 2021-11-11 13:11:39 · 2257 阅读 · 0 评论 -
Linux[报错Error]:userdel: user xxx is currently used by process 66035 删除用户时报错【已解决】
使用Linux的朋友一定都会遇到这种错误,非常简单也非常常见造成该错误的原因主要是:在对用户进行删除操作之前,创建并切换了要删除的用户账号,导致该账号还有进程在占用,无法删除。userdel: user xxx is currently used by process 66035译:Userdel:用户XXX当前被进程66035使用 。错误代码如下图所示:解决方案:使用CTRL+D快捷键登出(等同于logout)要删除的用户账号,再回到root用户,此时执行删除用...原创 2021-11-10 14:27:06 · 1693 阅读 · 0 评论 -
【解决】Error:Maven项目打包时报错:找不到符号,项目可以正常运行
项目可以正常运行,但是使用Maven的package命令就报:找不到符号。根据报错信息找到对应的位置后 发现代码根本没有问题。(如图所示)通常遇到这种情况,不要慌。如果还有其他错误,先解决其他错误。 如果只报该错误:原因是你的项目经过修改后尚未编译,直接打包程序无法识别而导致,使用Maven命令重新编译即可。问题解决~在测试项目中遇到报错很正常,无需惊慌,仔细阅读报错信息,解决方式就藏在其中~如有错误,欢迎指出Thanks...原创 2021-11-05 09:37:43 · 12674 阅读 · 7 评论