applicationContext.xml文件中对两个log报错:
Bean must be of 'org.aopalliance.aop.Advice' type
和网上的错误有些不同,没有发现aopalliance-alpha包
配置文件:
log类:
测试报错:
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.pro.log.AfterLog/>] for bean with name 'afterLog' defined in class path resource [applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: com.pro.log.AfterLog/>
java.lang.ClassNotFoundException: com.pro.log.BeforeLog/>
但是target文件夹里有相应的class文件