标签:pat ble img code image extc 目录 ati com
我出现此错误的原因是web.xml中没有指定spring的启动配置文件applicationContext.xml的加载位置。applicationContext.xml原来再webRoot/webInfo下,后来我把applicationContext.xml放在了src根目录下了。
因此需要再web.xml指定一下。
<context-param>
<context-name>contextConfigLocation</context-name>
<context-value>classpath:applicationContext.xml</context-value>
</context-param>
Configuration problem: 'bean' or 'parent' is required for <ref> element
标签:pat ble img code image extc 目录 ati com
原文地址:https://www.cnblogs.com/pecool/p/12700270.html