![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java异常解决
火热男
这个作者很懒,什么都没留下…
展开
-
【java异常解决】Error creating bean with name ‘自己写的类‘ defined in URL 【】;Initialization of bean failed;
idear启动成功,jar包运行报此类错误。原因是缺少相关依赖。原创 2024-06-19 16:39:22 · 380 阅读 · 0 评论 -
【Java异常解决】使用copyProperties()复制时Boolean类型的一直无法复制
原因:使用copyProperties()复制时Boolean类型的一直无法复制分析:对于Boolean类型的数据, @Data给到的get方法名默认为isSex而不是getSex,而copyProperties()Boolea类型的getXxx()可以使用,如果方法是isXxx()就只有boolean可以。属性名不要用isXXX命名了解决办法:手动添加get方法,覆盖掉@Data注解的方法如果is开通,生成的时候is会去掉。原创 2024-04-16 11:07:16 · 342 阅读 · 0 评论 -
【java异常解决】IDEA 启动工具栏Debug错误提示:Command line is too long. Shorten command line
在 IntelliJ IDEA 或其他 JetBrains IDE 中遇到 “Command line is too long. Shorten command line” 的错误时,这通常是因为项目类路径太长了。这在 Windows 系统上更常见,因为 Windows 有一个较短的最大命令行长度限制。jar manifest:IDE通过临时classpath.jar传递长类路径。原始类路径在MANIFEST.MF中定义为classpath.jar中的类路径属性。IDE不会缩短长类路径。原创 2024-06-19 10:52:14 · 216 阅读 · 0 评论 -
【JAVA异常解决】怎么让bootstrap.yaml变成绿叶带小云logo
原因一:Maven依赖导入错误。原创 2024-05-17 13:56:55 · 195 阅读 · 0 评论 -
【java异常解决】attempted to return null from a method with a primitive return type (int).
我的原因是在mapper层把@Update()注解写成了@Select()我看网上有其他解释,大家按照需求选择。原创 2024-04-22 17:34:32 · 830 阅读 · 1 评论