Exception in thread “main” org.springframework.beans.factory.BeanCreationException: Error creating bean with name “panion” defined in class path resource [first/Play.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name “org.springframework.aop.aspectj.AspectJPointcutAdvisor#4”: Cannot create inner bean “(inner bean)” of type [org.springframework.aop.aspectj.AspectJAroundAdvice] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name “(inner bean)#8”: Cannot create inner bean “(inner bean)” of type [org.springframework.aop.config.MethodLocatingFactoryBean] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name “(inner bean)#8”: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Unable to locate method [watch()] on bean [audience]
解决方案