当前位置: 代码迷 >> 综合 >> aop IllegalArgumentException: warning no match for this type name: [Xlint:invalidAbsoluteTypeName]
  详细解决方案

aop IllegalArgumentException: warning no match for this type name: [Xlint:invalidAbsoluteTypeName]

热度:53   发布时间:2023-09-19 23:09:17.0

报错如下:org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: service [Xlint:invalidAbsoluteTypeName]
Caused by: java.lang.IllegalArgumentException: warning no match for this type name: [Xlint:invalidAbsoluteTypeName]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in class path resource [spring-core-config.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: params [Xlint:invalidAbsoluteTypeName]

Related cause:
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name ‘shiroFilter’: Requested bean is currently in creation: Is there an unresolvable circular reference?
解决:
<aop:pointcut /> 中execution 函数配置错误
或者注解中pointcut中类名全路径或函数名或参数类型或参数名称不匹配错误导致:
此类型名称不匹配
参数非法:没有与类型匹配的参数
一般可能是类名、类路径哪里有问题,先确认一下。
aop IllegalArgumentException: warning no match for this type name: [Xlint:invalidAbsoluteTypeName]

  相关解决方案