#问题描述:
springboot切面引入报错,有大佬给看一下么?网上找不到答案
#相关代码:
##依赖
<!-- SpringBoot整合aop -->
org.springframework.boot
spring-boot-starter-aop
##切面
@Service
@Aspect
public class ExampleAspect {
@DeclareParents(value="com.seanzhang.manage.service.ExampleService+",defaultImpl=ExampleIntroductionImpl.class)
public static ExampleIntroduction introduction;
}
public interface ExampleIntroduction {
void introductionDemo();
}
@Service
public class ExampleIntroductionImpl implements ExampleIntroduction {
@Override
public void introductionDemo() {
}
}
#报错信息:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.data.web.config.SpringDataWebConfiguration': Unsatisfied dependency expressed through field 'pageableResolverCustomizer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageableCustomizer' defined in class path resource [org/springframework/boot/autoconfigure/data/web/SpringDataWebAutoConfiguration.class]: Initialization of bean failed; nested exception is org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException: warning can't determine implemented interfaces of missing type org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration$$Lambda$402.2234027