jdbc配置:
 driverClass=com.mysql.jdbc.Driver
 url=jdbc:mysql://localhost:3306/mydata
 user=root
 password=root
当数据库中没有mydata表时,无法自动创建,且tomcat启动不了,停留在Initializing Spring root WebApplicationContext。如果手动创建mydata表,tomcat可以启动,项目也能运行。hibernate配置: org.hibernate.dialect.SQLServerDialect  org.hibernate.cache.EhCacheRegionFactory  true  update  true