jjzjj

invalidAbsoluteTypeName

全部标签

java.lang.IllegalArgumentException : warning no match for this type name: ru. sbt.filial.cards.aspect.SomeBean [Xlint:invalidAbsoluteTypeName]

我从未使用过SpringAOP并尝试配置我的第一个bean。似乎我配置正确,但我得到一个找不到bean的异常。我的方面是——@Aspect@ComponentpublicclassIdentificationAspect{@Before("execution(*ru.sbt.filial.cards.aspect.SomeBean.*(..))")publicvoidlogBefore(JoinPointjoinPoint)throwsThrowable{System.out.println("logBefore()isrunning!");System.out.println("hi

java.lang.IllegalArgumentException : warning no match for this type name: ru. sbt.filial.cards.aspect.SomeBean [Xlint:invalidAbsoluteTypeName]

我从未使用过SpringAOP并尝试配置我的第一个bean。似乎我配置正确,但我得到一个找不到bean的异常。我的方面是——@Aspect@ComponentpublicclassIdentificationAspect{@Before("execution(*ru.sbt.filial.cards.aspect.SomeBean.*(..))")publicvoidlogBefore(JoinPointjoinPoint)throwsThrowable{System.out.println("logBefore()isrunning!");System.out.println("hi