是因为A service和B service 循环注入导致,在出现冲突的注入上面加一个注解即可
点击打开SyntaxError: JSON.parse: expected property name or ‘}’
企业微信复制的请求无法直接用,需要去除空格
点击打开Parameter ‘*’ not found. Available parameters are [0, 1, param1, param2]
mapper.xml文件中的参数没有对应匹配
点击打开Communications link failure
1.mysql数据服务没有开启 2.网络问题 在当前服务器ping 一下看看是否能连接上 mysql服务器 3 […]
点击打开ConflictingBeanDefinitionException异常,Annotation-specified bean name xxxx‘ for bean class
关键点在于这个xx的类,名称重复了 Annotation-specified bean name ‘xx’ f […]
点击打开could not extract ResultSet
1.数据库的字段名跟hibernate的配置不一致导致的 2.字符集不同
点击打开xxl-job定时任务执行报:jobhandler not found
1.@XxlJob注解的值名称要和编辑xxl-job任务的JobHandler值一致 2.正确书写Cron表达 […]
点击打开Can‘t generate mapping method with primitive return type.
Spring项目中使用了JPA以及Mybatis–mapper文件注解引错包导致编译错误 错误导入 jpa i […]
点击打开fulltext <expression>, <operator>, GROUP, HAVING or ORDER expected, got ‘(‘
JPA使用的原生sql查询,加 nativeQuery = true
点击打开Load balancer does not have available server for client:xxx
原因:这个xxx服务未找到 解决思路: 1、先看看注册中心是否有这个xxx服务,服务名称必须是xxx 2、然后 […]
点击打开feign.RetryableException: Read timed out executing POST
feign接口请求超时 请求方在application.yml 下添加 ribbon: ReadTimeout […]
点击打开Non-terminating decimal expansion; no exact representable decimal result
因为BigDecimal的divide方法出现了无限循环小数 解决办法: 指定保留小数限定,如data.div […]
点击打开