急求——遇到一个AOP的问题,哪位帮帮忙呀!!!
spring吧
全部回复
仅看楼主
level 2
今天写了一个关于AOP的小程序,老是有这个错误提示“
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 15 in XML document from class path resource [beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 15; columnNumber: 15; cvc-complex-type.2.4.c: 通配符的匹配很全面, 但无法找到元素 'aop:config' 的声明。”
坐等解答!!!
2014年03月31日 08点03分 1
level 2
没人吗???
2014年03月31日 08点03分 2
level 2
真的没人吗
2014年03月31日 08点03分 3
level 12
你的配置文件的顶部没有导入相应的aop schema命名空间
2014年03月31日 12点03分 4
正解!
2015年05月25日 12点05分
level 2
粘代码看看
2014年08月05日 13点08分 5
level 10
就这点信息你让人怎么判断!
2014年08月08日 12点08分 6
level 2
好人,能不能给我讲讲AOP呢。。。[乖]
2015年05月27日 09点05分 7
level 1
这个问题我也遇到,是因为缺失aop所需要的包导致的,需要添加aop alliance-xxx.jar ,aspectsweaver-xxx.jar, spring-aop-xxx.jar, spring-aspects-xxx.jar四个包,xxx是版本号
2015年11月17日 07点11分 9
只要后面两个就够了吧,我就只使用了后面的两个,也没有发生这种错误
2015年12月03日 15点12分
level 1
你解决了吗?
2016年04月12日 07点04分 10
level 1
2016年09月29日 12点09分 11
1