ITeye博客

配置文件没有编译

wangyanlong0107 · 2017-05-09 15:30 · intellij idea · maven · 开源软件 · Markdown

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 15 in XML document from file [F:\NetStone-Aggregation\StoneWebService\target\ROOT\WEB-INF\classes\applicationContext-cache.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 15; columnNumber: 11; cvc-complex-type.2.3: 元素 'list' 必须不含字符 [子级], 因为该类型的内容类型为“仅元素”。

 

maven compile才编译配置文件,直接启动tomcat只编译class文件,所以先compile再启动tomcat,配置文件就编译好了。

评论(0)

暂无评论。

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