随笔分类 -  错误集

摘要:报错提示内容: 解决:将启动类文件移动到com.atguigu.eduservice包。应该是EduApplication.java文件自带的@SpringBootApplication中包含@ComponentScan,默认是扫描该类所在的包和子包的,即 @ComponentScan(basePa 阅读全文
posted @ 2023-08-13 15:32 哩个啷个波 阅读(734) 评论(0) 推荐(0)
摘要:1、原因这是由于两个版本不一致导致的; <!--mybatis-plus--> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.5.1 阅读全文
posted @ 2023-08-13 11:26 哩个啷个波 阅读(481) 评论(0) 推荐(0)
摘要:##报错信息: PS D:\disk\xubo\个人博客文章\27-Vue\资料(含课件)\vuedemo\vueproject> npm i pubsub-js npm ERR! code EPERM npm ERR! syscall open npm ERR! path D:\disk\soft 阅读全文
posted @ 2023-07-02 19:41 哩个啷个波 阅读(2490) 评论(1) 推荐(1)
摘要:感谢原作者:https://blog.csdn.net/weixin_42045639/article/details/125538161 #### 1.错误描述: - IDEA导入一个新的项目,运行时包编译失败 ![在这里插入图片描述](https://img2023.cnblogs.com/bl 阅读全文
posted @ 2023-06-23 14:04 哩个啷个波 阅读(813) 评论(0) 推荐(0)
摘要:1.错误描述: IDEA导入一个新的项目,运行时包编译失败 在这里插入图片描述 2.错误原因 这个错误的原因是因为 JDK 版本问题,有两个原因,一个是编译器版本不匹配,一个是当前项目 JDK 版本不支持 3.解决步骤 需要调整三个位置的jdk版本 调整项目的jdk版本,File --> Proje 阅读全文
posted @ 2023-06-23 14:02 哩个啷个波 阅读(269) 评论(0) 推荐(0)
摘要:原文链接:https://blog.csdn.net/asd051377305/article/details/104801195 # 异常产生 当我们迭代一个[ArrayList](https://so.csdn.net/so/search?q=ArrayList&spm=1001.2101.30 阅读全文
posted @ 2023-06-23 13:19 哩个啷个波 阅读(1457) 评论(0) 推荐(0)
摘要:感谢原文:https://blog.csdn.net/weixin_38084097/article/details/126479173 问题背景 前段时间由于工作失误,误将工程项目中某一个依赖包没有添加@loadbalanced注解就直接打包依赖到的主工程中,并发送项目现场测试。出来混的,迟早都要 阅读全文
posted @ 2023-06-22 20:06 哩个啷个波 阅读(784) 评论(0) 推荐(0)
摘要:报错信息:java.lang.ClassCastException: java.util.Date cannot be cast to java.sql.Date 原因是:![image-20221228161631614](https://img2023.cnblogs.com/blog/2446 阅读全文
posted @ 2023-06-22 19:17 哩个啷个波 阅读(66) 评论(0) 推荐(0)
摘要:运行时遇到这个问题 ![](https://img2023.cnblogs.com/blog/2446184/202306/2446184-20230614214046091-1282890569.png) 自己在给组件命名时没有使用大驼峰或者'-'拼接单词,所以编译的时候报错,实际上是语法检测的问 阅读全文
posted @ 2023-06-14 21:41 哩个啷个波 阅读(308) 评论(0) 推荐(0)
摘要:##报错信息: [Vue warn]: Error compiling template: Component template should contain exactly one root element. If you are using v-if on multiple elements, 阅读全文
posted @ 2023-06-11 17:24 哩个啷个波 阅读(47) 评论(0) 推荐(0)
摘要:在使用 启动服务器执行命令: json-server --watch db.json 报错 json-server : 无法将“json-server”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。 报错信息 json-server : 无法将“json-server”项识别为 cmdl 阅读全文
posted @ 2023-05-14 01:00 哩个啷个波 阅读(1516) 评论(1) 推荐(1)
摘要:执行npm install -g json-server 命令报错 npm ERR! code ETIMEDOUT npm ERR! syscall connect npm ERR! errno ETIMEDOUT npm ERR! network request to https://regist 阅读全文
posted @ 2023-05-14 00:32 哩个啷个波 阅读(656) 评论(0) 推荐(0)
摘要:原因是导入了jdbc的依赖,使用@Configuration注解向spring注入了dataSource bean。 但是因为工程中没有关于dataSource相关的配置信息,当spring创建dataSource bean因缺少相关的信息就会报错。 有两个办法: 办法1: 去除spring-boo 阅读全文
posted @ 2023-05-05 22:27 哩个啷个波 阅读(1047) 评论(0) 推荐(1)
摘要:1、问题 运行Spring Boot项目,发生java.lang.IllegalArgumentException异常,原因如下: ContextPath must start with '/' and not end with '/' 完整的Run输出如下: . ____ _ __ _ _ /\\ 阅读全文
posted @ 2023-04-25 14:05 哩个啷个波 阅读(677) 评论(0) 推荐(0)
摘要:一、Spring boot自定义配置实现自动提示 @ConfigurationProperties 的作用: 让JavaBean中属性值要和配置文件进行映射 @Getter @Setter @ConfigurationProperties(prefix = "jwt") public class J 阅读全文
posted @ 2023-04-25 11:39 哩个啷个波 阅读(429) 评论(0) 推荐(0)
摘要:![](https://img2023.cnblogs.com/blog/2446184/202304/2446184-20230412175159952-401283687.png) 阅读全文
posted @ 2023-04-12 17:52 哩个啷个波 阅读(19) 评论(0) 推荐(0)
摘要:错误信息: com.xubo.rabbitmq.springbootrabbitmq.SpringbootRabbitmqApplication . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | 阅读全文
posted @ 2023-04-06 22:29 哩个啷个波 阅读(1149) 评论(0) 推荐(0)
摘要:报错: Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException错误 项目版本: springboot最新版本 <parent> <group 阅读全文
posted @ 2023-04-05 21:25 哩个啷个波 阅读(262) 评论(0) 推荐(0)
摘要:##1.错误信息: Procedure execution failed ERROR: numeric field overflow (seg13 slice18 10.157.3.12:6001 pid=136334) DETAIL: A field with precision 10, scal 阅读全文
posted @ 2023-03-28 13:49 哩个啷个波 阅读(1523) 评论(0) 推荐(0)
摘要:##错误原因: Postgres:子查询使用外部查询中未分组的列 在写的sql中,子查询中使用了未分组的列。 ##解决方式: 将子查询中涉及到外部sql中字段放到外部group by 后面。 阅读全文
posted @ 2023-03-28 13:44 哩个啷个波 阅读(1455) 评论(0) 推荐(0)