关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'aop:config'.
收起
- 写回答
- 好问题 0 提建议
- 关注问题
微信扫一扫点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
2条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
Json-Huang 2019-09-21 10:21关注applicationContext.xml中配置有问题,aop:config下的aop:pointcut应该跟aop:aspect是同级别的,应该是兄弟关系,不是父子关系,类似下面
<aop:config> <aop:pointcut id="loggerCutpoint" expression= "execution(* com.how2java.service.ProductService.*(..)) "/> <aop:aspect id="logAspect" ref="loggerAspect"> <aop:after pointcut-ref="loggerCutpoint" method="log"/> </aop:aspect> </aop:config>本回答被题主选为最佳回答 , 对您是否有帮助呢? 本回答被专家选为最佳回答 , 对您是否有帮助呢? 本回答被题主和专家选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏举报
微信扫一扫点击复制链接分享
评论按下Enter换行,Ctrl+Enter发表内容
报告相同问题?
提交
- 2019-07-08 18:57
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element
Seriously_的博客 报错信息:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:resources'. springmvc.xml /ssm-login/conf line 19 XML Problem 解决办法: <?xm..... - 2019-04-12 15:49weixin_30646315的博客 关于以上错误,观察是否缺少了某一项,还要注意书写的顺序 建议这一类配置文件直接复制就好了,不要自己写 ... <aop:aspectj-autoproxy /> 转载于:https://www.cnblogs.com/d-i-p/p/10696517.html
- 2018-05-10 20:57
- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for eleme
凌云之音的博客 面向切面aop命名空间没有配置好 导致出现以下问题Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element '... - 2018-06-12 09:01豆芽炒粉丝的博客 配置xml文件时,错误显示: “cvc-complex-type.2.4.c: matching wildcard is strict, but no declaration can be found for element ‘context:component-scan’.” 原因是缺少: xmlns:context="...
- Rmice的博客 问题:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration。匹配的匹配符是严格的,但是没声明。原因:推测是导入的.xml与IDE的版本不同。解决办法:我的:更换对应的.xml文件的xsi:...
- 2014-05-04 10:46望远镜Monkey的博客 spring项目报错:cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for elemen。 原因:配置
- 2019-02-27 17:19却顾所来径的博客 Description Resource Path Location Type cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation-driven'. 以上错误应该是约束有问题: 把...
- 2017-01-11 10:45任性的果果的博客 在跟着《Spring实战(第4版)》写示例demo的时候遇到的问题。是在 XML 配置文件中出现的。... 例如:我需要使用到 aop 模块的切面的内容,但是我在 xsi:schemaLocation 中没有添加相关内容,XML 文件会提示红叉
- 2016-09-29 11:47冷月宫主的博客 错误信息: Description Resource Path Location Type cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:an
- 2018-08-12 00:41weixin_34293059的博客 - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'aop:config'. 如图所示: 网上搜索解决方案,看到类似的问题是 xsi:schemaLocation 中的 url ...
- 2018-03-04 01:00
XML文件报“The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation”
包包小公子的博客 问题描述:Description Resource Path Location Typecvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:annotation-driven'. springmvc.xml ... - 2018-02-27 13:02胖凯的博客 今天在学springMVC,配置handlerMapping时,出现cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:annotaion-driven'. 解决方法:在xsi:schemaLocation...
- 李大直男的博客 项目场景: 在Spring项目里使用tomcat,发现... cvc-complex-type.2.4.c: 通配符的匹配很全面, 但无法找到元素 'context:property-placeholder' 的声明。 at com.sun.org.apache.xerces.internal.util.ErrorHandlerWr
- 2017-07-06 12:16韭菜猫骑士的博客 新增AOP切面,统计系统方法耗时。 package com.xyzq.afa.pbank.console.aop; /** * Created by YANG on 2017-7-6. */ import com.xyzq.afa.util.PBankUtil; import org.aspectj.lang.JoinPoint; import org....
- 2015-11-18 08:28ijustcalledtosay的博客 cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'aop:aspectj-autoproxy'. 解决方案,原来是一行,现在分成几行后就搞定了,不需要改其它地方: xsi:...
- 2016-10-10 21:51Rosanu的博客 Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'aop:config'. 解决方法:剪切aop:confi
- weixin_30847939的博客 nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:default-servlet-handler'. at org.spring...
- 2019-12-10 09:32life4what的博客 cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element ‘context:component-scan’. spring.xml /spring-study/src/main/resources line 17 XML Problem ...
- 2017-07-03 17:51liu_dong_kang的博客 SpringMVC整合DWR时出现这样的错误Multiple annotations found at this line: - cvc-complex-type.2.4.c 这几天一直在纠结SpringMVC整合DWR时出现如下错误: Multiple annotations found at this line: ...
- 没有解决我的问题, 去提问

