Open quote is expected for attribute "{1}"
具体
异常如下:
nested exception is org.xml.sax.SAXParseException: Open quote is expected for attribute "{1}" associated with an element type "name".:
一般原因就是
XML文件中,期望的元素或者属性没有用“”包起来
比如我这里是:
<property
name=sqlSessionFactoryBeanName value="sqlSessionFactory" />
sqlSessionFactoryBeanName 没有用引号引起来
正确的是:
<property
name="sqlSessionFactoryBeanName" value="sqlSessionFactory" />