报错:
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: Cannot determine target DataSource for lookup key [null]
按照官方的文档配置的路径出现这样的问题,搞了半天也没有搞出来,最终 问题出在这里
要把mybatis也取消注释
哈哈哈,当时傻逼了
报错:
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection: Cannot determine target DataSource for lookup key [null]
按照官方的文档配置的路径出现这样的问题,搞了半天也没有搞出来,最终 问题出在这里
要把mybatis也取消注释
哈哈哈,当时傻逼了