Line 14 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 14; columnNumber: 120; 文档根元素 "beans" 必须匹配 DOCTYPE 根 "html"。
1,看下spring xml文件的schema 和 doctype 有没问题
2,xml文件schema引入的 spring版本 和jar版本是不是一样
看下你applicationContext.xml 中14行里面的xml路径配置是不是有问题
将applicationContext.xml中红色部分的代码<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">删除掉即可!