1 'org.springframework.orm.hibernate5.LocalSessionFactoryBean'
Class not Found
Spring 4.3 才和Hibernate 5 可以實現整合
從源碼的註解就可以看出
2 create connection SQLException, url: jdbc:mysql://60.205.201.212:3306/test, errorCode 0, state null
spring 的配置文件錯誤 或者 properties 中數據庫的屬性錯誤
總結:
查錯誤靜下心來 , 基本都是自己拼寫錯誤, 或者自己忘記寫了
檢查自己代碼