![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java编程常见异常
kakams_008
这个作者很懒,什么都没留下…
展开
-
MybatisPlus通用枚举错误
修改。原创 2023-10-28 00:40:28 · 318 阅读 · 0 评论 -
如果设置了@TableId(value = “uid“,type = IdType.AUTO),数据库中还是雪花算法
在数据库中运行这条语句ALTER TABLE 库名.表名 AUTO_INCREMENT = 0;IdType.AUTO设置了自动增长,结果数据库中还是雪花算法。原创 2023-10-27 00:01:34 · 252 阅读 · 0 评论 -
Error creating bean with name ‘userServiceImpl‘: Unsatisfied dependency expressed through field ‘bas
解决方法:在mapper层接口上加一个注解@Mapper。原创 2023-10-21 00:55:16 · 509 阅读 · 0 评论 -
Error starting ApplicationContext. To display the auto-configuration report re-run your application
错误:Error starting ApplicationContext. To display the auto-configuration report re-run your application。解决方法,在启动类上加注解@Mapperscan(“mapper包的全类名”)原创 2023-10-09 23:51:37 · 197 阅读 · 0 评论 -
parameterType后面报红
parameterType后面报红,点击file——settings。原创 2023-10-08 18:58:24 · 334 阅读 · 0 评论 -
测试时调用方法,方法底下有黄色虚线
2、检查mapper层,看下导入的包是否正确。测试时调用方法,方法底下有黄色虚线解决方法。1、检查pom.xml文件。原创 2023-07-29 01:14:12 · 121 阅读 · 0 评论