当我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
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>