
BUG总结
智航云科技
学如逆水行舟,不进则退
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
VMware Workstation 与 Hyper-V 不兼容。请先从系统中移除 Hyper-V 角色,然后再运
虚拟机与Docker环境冲突解决方案:因Windows系统的Hyper-V服务与VMware冲突导致虚拟机无法启动,可通过管理员命令提示符输入"bcdedit /set hypervisorlaunchtype off"关闭Hyper-V,重启后即可正常使用VMware。如需恢复Hyper-V服务,执行"bcdedit /set hypervisorlaunchtype auto"命令即可。该方案适用于Windows 10系统下解决虚拟机与Docker环境冲突问题。原创 2025-06-06 21:53:54 · 1705 阅读 · 0 评论 -
java字符串使用split分割报:Dangling meta character ‘+‘ near index 0 +
开发接口,接收对方参数的时候,有的参数是商品名称和数量,在一个字段,通过+分割的,在我接收到参数的时候分割取值,就报了这个问题:Dangling meta character ‘+’ near index 0。原创 2024-11-15 15:03:19 · 471 阅读 · 0 评论 -
docker执行restart命令时报错:Job for docker.service failed because start of the service was attempted too of
在centos7中安装好docker后,配置了国内的镜像源,然后重启docker时报以下错误。原创 2024-10-11 10:56:46 · 1071 阅读 · 1 评论 -
nginx运行时报:No rule to make target ‘build‘, needed by ‘deault‘.Stop
部署前端项目,将打好的前端包,放到服务器上,运行nginx执行,结果nginx运行报错。原创 2024-10-11 10:48:27 · 569 阅读 · 0 评论 -
centos7执行yum命令时报:Could not resolve host: mirrorlist.centos.org; Unknown error
打算学习一下docker,所以重新装了一台虚拟机,centos7。安装完成后,通过 yum 命令下载必要软件时报了错误,对此错误进行了分析,解决和记录。原创 2024-10-11 09:17:16 · 780 阅读 · 0 评论 -
Mac 使用vscode 创建vue项目后修改文件提示:权限不足,以超级用户身份重试
至此mac创建项目后,使用vscode进行修改提示权限不足的问题解决。原创 2024-08-21 22:44:06 · 2024 阅读 · 0 评论 -
Idea 2023 使用GitLab提交代码提示输入Token
今天电脑换硬盘了,安装了 IDEA2023 款的社区版开发工具,下载代码后,提交并推送代码到远程服务器的时候,提示输入Token,并不是用户名和密码。原创 2024-07-11 11:11:51 · 3635 阅读 · 0 评论 -
springboot项目jar包修改数据库配置运行时异常
今天看技术公众号得知,腾讯课堂竟然下线了。通知:2024年6月29日,腾讯课堂官网发布重要通知,宣布将于2024年8月1日起停止所有在线课程的访问服务。用户在此日期后将无法访问新的课程内容,但可以继续观看“课程表”中的历史免费课程内容。进一步的消息显示,腾讯课堂将在2024年10月1日全面停止运营,届时所有平台服务将全部终止。现在不管是苹果还是安卓,应用商店已经不能再下载腾讯课堂APP了。原创 2024-07-02 20:14:11 · 1139 阅读 · 0 评论 -
mysql从A库复制表到B库的时候报:MySQL ERROR:1153
今天操作数据表从A库迁移到B库的时候报了这个问题: MySQL ERROR:1153;因为表比较大,我导出SQL文件查看大概有1.8G,里面存放的都是图片信息。我其中尝试了多种方法,使用navicat 工具中的数据 同步,还有表复制,都失败了,这种失败,即使前期执行成功了好多语句,但是最终表里面都是空的,只要有1个失败,直接回滚所有数据;我又尝试了导出SQL文件,然后在B库执行,一样的失败,但是这种是失败了,但是表里面还会有1部分数据;最终通过网上查询,设置了以下属性,在导入,就成功。原创 2023-11-11 18:41:13 · 989 阅读 · 0 评论 -
Error: Couldn‘t find preset “es2015“ relative to directory
按照element-ui中的步骤 把.babelrc 文件内容从。vue引入element-ui,运行时报了这个错误。然后运行时就报了这个问题。安装es2015 工具。原创 2023-08-16 10:00:08 · 1332 阅读 · 0 评论 -
maven报错: ‘parent.relativePath‘ of POM xxx
pom.xml, 查找依赖父项目的顺序为: relativePath元素中的地址 - 本地仓库 - 远程仓库。就是配置了一个空的元素,意思是:始终从仓库中获取,不从本地路径获取。原创 2023-04-06 11:09:07 · 3125 阅读 · 1 评论 -
docker报错:You have to remove (or rename) that container to be able to reuse that name
错误原因:您必须删除(或重命名)该容器才能重用该名称。查看docker 启动进程。原创 2023-04-05 22:04:50 · 4127 阅读 · 0 评论 -
activiti7异常总结
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the 'serv原创 2022-05-24 22:15:45 · 644 阅读 · 0 评论 -
idea下载社区版后无法从Maven私有仓库下载依赖
下载社区版安装以后,导入项目,下载不下来依赖原因:最新版IDEA后内置Maven的版本提升到了3.8.1,从3.8.1开始setting.xml会增加一个默认镜像maven-default-http-blocker来阻止从HTTP链接下载不安全的依赖库。setting.xml<mirror> <id>maven-default-http-blocker</id> <mirrorOf>external:http:*</mirro原创 2022-03-15 16:34:41 · 1536 阅读 · 0 评论 -
Consider defining a bean of type ‘com.xxx.xxx‘ in your configuration.
启动spring boot项目报错Consider defining a bean of type 'com.xxx.xxx.xxx' in your configuration.正常情况下@Component注解的类会自动被Spring扫描到生成Bean注册到spring容器中,如果系统提升找不到,也就是该注解被没有被spring识别,问题的核心关键就在application类的注解SpringBootApplication上解决方法,在启动类上加上这个注解即可@EnableFeignClien原创 2022-03-15 16:16:43 · 1172 阅读 · 0 评论 -
VS Code右键运行Open with live Server弹出找不到应用程序
解决方法:重置默认浏览器选择文件-> 首选项 -> 设置输入live server选择浏览器 即可原创 2022-01-01 16:24:36 · 4245 阅读 · 3 评论 -
cannot deserialize from Object value (no delegate- or property-based Creator)
json转换的时候发生了反序列化报错:cannot deserialize from Object value (no delegate- or property-based Creator)feign.codec.DecodeException: Type definition error: [simple type, class com.xxx.ins.smp.tpa.domain.CommonResponseHead]; nested exception is com.fasterxml.jacks原创 2022-01-01 14:07:06 · 1063 阅读 · 0 评论 -
idea启动命令过长的解决方案
idea启动命令过长报如下错误:解决方案一:在项目的.idea文件下找到workspace.xml找不到的到项目目录文件夹中找在<component name="PropertiesComponent"></component >内加入<property name="dynamic.classpath" value="true" />再次启动即可解决方案二:run->edit在启动类配置里面选择保存启动即可...原创 2021-12-27 21:23:01 · 19326 阅读 · 1 评论 -
BigDecimal 精度缺失问题
使用BigDecimal初始化double时候因为初始化方式导致精度缺失当使用new BigDecimal(初始化值) 时候,这个初始化值只能是string的不然就有可能出现精度缺失问题,一般建议使用BigDecimal.valueOf() 来初始化。...原创 2021-12-26 22:51:41 · 646 阅读 · 0 评论 -
循环依赖问题及解决
在使用了lombok注解 @RequiredArgsConstructor 注入服务时,启动项目报了循环依赖的问题 . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, |原创 2021-12-26 22:45:34 · 1417 阅读 · 0 评论 -
Repeated column in mapping for entity: com.xxx column: default_store
jpa 扫描实体类创建表的时候报了这个错误:Repeated column in mapping for entity: com.example.easyexceltest.pojo.SvcInfo column: default_store (should be mapped with insert=“false” update=“false”)Caused by: org.hibernate.MappingException: Repeated column in mapping for entity原创 2021-11-09 23:51:16 · 1119 阅读 · 0 评论 -
git提交出现Another git process seems to be running in this repositorye.g. an editor opened by ‘git commi
提交代码的时候出现这个错误它的翻译是:另一个git进程似乎在这个存储库中运行,例如由’git commit’打开的编辑器。 请确保所有流程终止然后再试一次。 如果它仍然失败,那就是一个git进程可能早先在此存储库中崩溃:手动删除文件以继续。大概意思就是说,当前已经有了一个编辑器打开了“git commit”指令,请关闭所有git相关的进程重试,否则,请手动删除那个文件。windows对于进程的同步互斥管理,是有资源上锁机制的。猜测这里肯定是有进程对某资源进行了加锁,但是由于进程突然崩溃,未来得及解原创 2021-09-11 13:30:32 · 1286 阅读 · 0 评论 -
使用mysql 8.0遇到的问题
问题一:Could not create connection to database server.com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. at sun.reflect.GeneratedConstructorAccessor27.newInstance(Unknown Source) ~[na:na]原创 2021-07-11 13:05:21 · 505 阅读 · 0 评论 -
服务无法注册到注册中心解决
启动服务的时候报了这个错误org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaAutoServiceRegistration': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean f原创 2021-05-26 23:19:28 · 1641 阅读 · 1 评论 -
spring cloud 整合ribbon问题
springCloud 整合ribbon的时候出现了这个问题java.lang.IllegalStateException: No instances available for localhost at org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerClient.execute(RibbonLoadBalancerClient.java:89) ~[spring-cloud-netflix-ribbon-2.0.2.RELEASE原创 2021-05-26 23:07:06 · 382 阅读 · 2 评论 -
The bean dataSource defined in
111原创 2021-05-26 22:54:04 · 346 阅读 · 0 评论 -
The push refers to repository [xxx] An image does not exist locally with the tag:xxx
推送远程images仓库的时候报了这个问题:The push refers to repository [docker.io/gwh2020/test]An image does not exist locally with the tag: gwh2020/test解决:docker tag test gwh2020/test原创 2021-05-23 22:12:16 · 5731 阅读 · 0 评论 -
Job for docker.service failed because the control process exited with error
Docker服务启动报错:Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.使用命令: systemctl status docker.service查看启动信息如下状态信息:解决: 重装docker把yum包更新到最新 sudo yum u原创 2021-05-23 22:10:18 · 670 阅读 · 0 评论 -
while scanning for the next token found character ‘@‘ that cannot start any token
springboot启动项目报这个错误:aused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next tokenfound character '@' that cannot start any token. (Do not use @ for indentation) in 'reader', line 8, column 9: meta: @apollo.meta@原创 2021-05-12 20:19:09 · 1151 阅读 · 0 评论 -
Idea运行报错Error running ‘Application‘: Command line is too long的解决方法
Idea里面启动项目的时候报了这个错误:Error running 'InsServiceManagerApplication': Command line is too long. Shorten command line for InsServiceManagerApplication or also for Spring Boot default configuration?解决:首先找到项目里面的idea/workspace.xml文件,然后再找到<component name="P原创 2021-05-12 20:12:16 · 1626 阅读 · 1 评论 -
java: Compilation failed: internal java compiler error解决
1.file—setting—build、execution、deployment----compiler—java compiler或者快捷键ctrl+alt+s,把两部分改为版本为82.修改project settings里project配置的版本(打开快捷键ctrl+shift+alt+s)3.再修改moudle里的版本,都改成对应的版本,我这里改成的是8然后点击ok,重启idea,建议使用file–invalidate/restart,再打开idea时错误就消失了...原创 2021-05-05 22:43:41 · 3172 阅读 · 0 评论 -
Error querying database. Cause: java.lang.IllegalArgumentException: jdbcUrl is required with driver
配置多个数据源启动报错,error querying database. Cause: java.lang.IllegalArgumentException: dataSource or dataSourceClassName or jdbcUrl is required,主要原因是在1.0 配置数据源的过程中主要是写成:spring.datasource.url 和spring.datasource.driverClassName。而在2.0升级之后需要变更成:spring.datasource.jd原创 2021-04-18 16:08:44 · 2367 阅读 · 0 评论 -
gitlab 拉代码提示:Your Account has been blocked. fatal: Could not read from remote repository
使用gitlab 拉取代码的时候报了这个错误:代码也拉不下来了,当时就想到可能是同事周一离职,账号被关闭导致的,因为我当时本机的公钥是让他帮我设置的,现在他离职了,我的公钥肯定也跟着没了,所以我就又重新设置了一下,设置过程如下:使用"cat ~/.gitconfig"查看本机git 信息配置cat ~/.gitconfig如果信息不是自己的信息需要重新设置一下1.设置用户名命令如下: ****替换为自己的用户名,是GitLab的登录用户名;git config --global user.n原创 2021-04-13 21:59:02 · 8166 阅读 · 0 评论 -
Method annotated with @Bean is called directly. Use dependency injection instead.
未添加@Configuration注解,导致@Bean之间相互调用出错因此把类名上面增加@Configuration注解即可解决。原创 2021-02-15 11:54:56 · 10932 阅读 · 2 评论 -
http://localhost:2010/actuator/hystrix.stream 404 问题解决!
上篇解决了proxyStreamAllowList找不到问题,然后又出了个404问题问题解决:1.检查消费者启动类是否加 @EnableHystrix 注解2.是否引入监控相关的jar包 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hyst原创 2021-02-07 08:34:39 · 341 阅读 · 0 评论 -
s not in the allowed list of proxy host names. If it should be allowed add it to hystrix.dashboard.
spring cloud 整合Hystrix Dashboard 的时候报了这个问题ashboardConfiguration$ProxyStreamServlet : Origin parameter: http://localhost:9000/actuator/hystrix.stream is not in the allowed list of proxy host names. If it should be allowed add it to hystrix.dashboard.proxy原创 2021-02-07 08:28:22 · 1272 阅读 · 1 评论 -
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.properties.Configurati
spring Cloud项目启动报了这个错误:Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_131] at java.lang.ClassLoader.loadC原创 2021-02-01 08:25:40 · 2053 阅读 · 0 评论 -
cannot allocate an array of constant size 0
编译的时候提示这个问题:cannot allocate an array of constant size 0这个问题是因为VC++6.0编辑器,编辑不通过,不允许数组定义长度为0我百度了一下,有的说是因为编辑器少包,装个包就好了因为我在初学阶段所以选择的编辑器是VC++6.0,所以我也没有装缺少的包,只是将数组设置了个长度,就可以编译通过了...原创 2021-01-26 18:29:38 · 5994 阅读 · 0 评论 -
Unknown custom element: <detail-form>
vue开发过程中,报了这个错误:Unknown custom element: <detail-form> - did you register the component correctly? For recursive components, make sure to provide the "name" option.如下:解决:除了import组件外,还要在components中添加...原创 2021-01-21 22:26:35 · 371 阅读 · 0 评论 -
scanf 输入指令的时候需要输入2次
今天学习C语言枚举类型的时候,验证了一个案例,使用了scanf函数,输入指令,但是输入的时候需要点击2次才能继续执行原因是输入的时候加了个\n可以看出是输入了2次1,才往下执行的修改后就正常了...原创 2021-01-15 17:08:21 · 1088 阅读 · 3 评论