配置文件没有编译

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,配置文件就编译好了。

猜你喜欢

转载自bigdragon.iteye.com/blog/2373375