SSH启动出现Unable to open JDBC connection

Error creating bean with name 'sessionFactory' defined in file [E:\apache-tomcat-7.0.73-windows-x64\apache-tomcat-7.0.73\webapps\Registration\WEB-INF\classes\config\spring-common.xml]: Invocation of init method failed; nested exception is org.hibernate.tool.schema.spi.SchemaManagementException: Unable to open JDBC connection for schema management target

sessionFactory 工厂没有注入

@Autowired
private SessionFactory sessionFactory;

我之前就是这么错的,,,然后我改成了用配置属性写,,就对了,,看你错的 感觉我应该当时也是少引号了。。。