报错:
Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory
错误原因:可能是数据库连接配置问题。 例如:
jdbc.url = jdbc:oracle:thin:@192.168.80.10:1521:oracl
其中,不小心将orcl写成了oracl。。。。。。