나는에 의한 웹 애플리케이션 시작스프링 AOP 표현
에이 오류를 받고 있어요 : 오류는 이름을 가진 콩을 만드는 'org.springframework.aop.aspectj.AspectJPointcutAdvisor # 0 : org.springframework.beans.factory.BeanCreationException ': 빈의 실체화에 실패했습니다. 중첩 예외는 org.springframework.beans.BeanInstantiationException : Bean 클래스를 인스턴스화 할 수 없습니다 [org.springframework.aop.aspectj.AspectJPointcutAdvisor] : 생성자가 예외를 던졌습니다. 상자의 예외는 java.lang.IllegalArgumentException가 있습니다 : 오류에 일이
을 생략여기에 바닥
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
에서 내 포인트 컷을 보여주는 XML의 일부입니다 ..... 포인트 컷에 :: 0 공식적인 언 바운드 내 클래스 중 하나에
<aop:config>
<aop:aspect id="bamAspectAroundID" ref="bamAspectAround">
<aop:pointcut id="bamAroundMethodPointcut" expression="execution(* testBA*(..))" />
<aop:around method="aspectAroundMethod" pointcut-ref="bamAroundMethodPointcut"/>
</aop:aspect>
</aop:config>
, 나는 더미 방법
public void testBAM() {
System.out.println("in testBAM() ");
}
expressi에게 있습니다 에 나에게 괜찮아 보인다. 어떤 포인터? aspectj 1.6.2를 사용하고 있습니다. 감사.