xml解析错误

eqfvzcg8  于 2021-10-10  发布在  Java
关注(0)|答案(0)|浏览(159)

我一直在尝试部署我的web应用程序,但我一直在尝试将该应用程序连接到mysql数据库。下面是日志中的错误

org.xml.sax.SAXParseException; systemId: file:///opt/tomcat/webapps/server-pulsar/META-INF/context.xml; lineNumber: 29; columnNumber: 55; The reference to entity "k-4VePtY" must end with the ';' delimiter.

这是context.xml文件:

<Context>   
    <Resource name="jdbc/pulsar_consciente" auth="Container" type="javax.sql.DataSource"
                   maxTotal="100" maxIdle="30" maxWaitMillis="10000"
                   username="migue" password="[mypass]" driverClassName="com.mysql.jdbc.Driver"
                   url="jdbc:mysql://localhost:3306/pulsar_consciente?serverTimezone=UTC"/> 
</Context>

你能帮助我吗?我现在快疯了!非常感谢。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题