0
点赞
收藏
分享

微信扫一扫

BUG收集-2022年1月7日

以沫的窝 2022-01-07 阅读 64

BUG收集(一月第1周)

1.重复注入,循环注入 ‘**’ has been injected into other beans

org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘’: Bean with name ‘’ has been injected into other beans [, ]in its raw version as part of a circular reference,

but has eventually been wrapped (for example as part of auto-proxy creation). This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using ‘getBeanNamesOfType’ with the ‘allowEagerInit’ flag turned off, for example.

→→→找到重复的地方,修改掉就可以了

2.项目改变包结构之后,启动报错,path太长

IDEA运行新项目时报 Error running ‘XXApplication‘: Command line is too long. Shorten command line for…… 错误

首先找到项目工程里面的.idea/workspace.xml文件,然后再找到<component name="PropertiesComponent"></component>标签,标签如图所示:

添加 然后再在component 标签中添加一行 <property name="dynamic.classpath" value="true" />

在这里插入图片描述

3.git报错

拉取为空 拉取地址为空 无法拉取

在这里插入图片描述

添加: :8080 原因是拉取的地址不对

**拉取冲突问题 ** 确保自己有前端代码commit权限的情况下,提交差异,只能在没有冲突的前提下,才能正确拉取代码.

4.SQL id not found

postman 提示

{

​ “result”: -1,

​ “msg”: “操作失败,系统出现异常”,

​ “data”: “Source must not be null”

}

控制台提示 id 没找到 原因是 ftl 文件 SysOrganization-dynamic.ftl 没有加dynamic

spring解析不了

d 没找到 原因是 ftl 文件 SysOrganization-dynamic.ftl 没有加dynamic

spring解析不了

举报

相关推荐

0 条评论