运行MyEclipse的错误

来源:百度知道 编辑:UC知道 时间:2024/05/25 14:54:32
Line 43 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.1: Element 'ref' must have no character or element information item [children], because the type's content type is empty.

这是在配置spring时出的问题吧.
'ref' 这个XML标签定义在dtd格式的语法错误.
异常信息:org.xml.sax.SAXParseException
建议你把你的文件贴出来
或Q上找我,我帮你看看
行数是在43行附近吧

[/WEB-INF/applicationContext.xml]这个配置文件你有没有去更改过啊
会不会你配置错误!!

[/WEB-INF/applicationContext.xml配置错误,对象ref或者对象信息单元children的类型为空