是不是我编写的xml文件有问题,运行之后报Exception in thread "main" java.lang.NoClassDefFoundError
xml提示Element type "aop:before" must be followed by either attribute specifications, ">" or "/>"这个错误,但我感觉我写的没问题啊,哪位大神帮忙看下
每个属性后面空一格,/>前面也加个空格
,这是一个属性规范的错误,pointcut-ref赋予属性的时候等号两边空格
挤在一起容易无法识别
method 和pointcut-ref连在一起了,建议用专业的编辑器编辑XML
同一个标签的不同属性之间要用空格隔开的