报错如下: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中类名全路径或函数名或参数类型或参数名称不匹配错误导致:
此类型名称不匹配
参数非法:没有与类型匹配的参数
一般可能是类名、类路径哪里有问题,先确认一下。