异常信息提示 Error creating bean with name 'aspectdome' defined in class path resource [springaop.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with
配置文件如下。除了类名不一致以外。别的都是一直的。但是就是报错。求指到。
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-4.0.xsd" >
<bean id="aspectdome" class="com.main.advice.Aspect">
</bean>
<bean id="aspectbiz" class="com.main.advice.biz.AspectBiz">
</bean>
<aop:config>
<aop:aspect id="aspectaop" ref="aspectdome">
<aop:before method="before" pointcut="execution(* com.main.advice.biz.AspectBiz.*(..))"/>
</aop:aspect>
</aop:config>
</beans>