ITeye博客

Non-whitespace characters are not allowed in schema elements

layznet · 2016-05-10 11:40 · spring · 开源软件 · Markdown

问题:

Caused by: org.xml.sax.SAXParseException; systemId: http://www.springframework.org/schema/aop/spring-aop-4.1.xsd; lineNumber: 1; columnNumber: 134; s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Your browse does not support frame!'.

原因: pom.xml配置了对spring 4.1.4.RELEASE的直接依赖,而又间接依赖了spring 3.2.9.RELEASE的,导致解析后的依赖中既有spring 4.1.4的,又有3.2.9的。 解决方法: 通过exclusions排除对3.2.9版本的间接依赖

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。