本文主要是介绍SAXParseException: The reference to entity characterEncoding must end with the,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
当我mvn jetty:run的时候,系统给出SAXParseException: The reference to entity "characterEncoding" must end with the ;
解决问题: 红色部分
jdbc:mysql://localhost:3306/test?useUnicode=true[color=red]&[/color]characterEncoding=UTF-8
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName">
<value>com.mysql.jdbc.Driver</value>
</property>
<property name="url">
<value>jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8</value>
</property>
<property name="username">
<value>root</value>
</property>
<property name="password">
<value></value>
</property>
</bean>
这篇关于SAXParseException: The reference to entity characterEncoding must end with the的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!