摘要: 1.启动出现空指针异常 问题:少加了注解 原因分析: 测试类没有扫描到service层,导致userService注入失败,调用userService对应的方法的时候自然会报NullPointerException 在测试类上面加上@SpringBootTest()和@RunWith(SpringR 阅读全文
posted @ 2021-12-17 15:21 迷糊桃 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 1.导入依赖 <!--mybatis-plus--> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.2.0</version> </ 阅读全文
posted @ 2021-12-17 15:18 迷糊桃 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 异常信息: parent.relativePath' of POM io.renren:renren-fast:3.0.0 (D:\Code\gulimall\renren-fast\pom.xml) points at com.atguigu.gulimall:gulimall instead o 阅读全文
posted @ 2021-12-17 10:13 迷糊桃 阅读(4605) 评论(0) 推荐(1) 编辑
摘要: 先上报错! 因为我是做后端,不是太了解是什么报错原因,百度了解了一下,大致问题就是node.js版本和package.json里面的node-sass对应的版本对不上,node.js大于8的就把node-sass版本改为4.14.1就解决了 阅读全文
posted @ 2021-12-17 09:57 迷糊桃 阅读(230) 评论(0) 推荐(0) 编辑