1、重新部署一下项目。
2、使用自动生成的方式,右键项目->run as -> Run on server 自动生成 tomcat的server.xml文件。
3、在tomcat的context中,配置连接字符串即可正常启动项目。