org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (Message file 'oracle.net.mesg.Message' is missing.)
在查询数据库的时候会报这个错,
我的思路
在测试环境启动后,页面正常打开,查询数据库请求时,会报这个问题。
通过Message file 'oracle.net.mesg.Message' is missing.可以感觉是数据的驱动 或者是数据源没有设置好。
问题解决
1、修改tomcat的server.xml或者其他地方配置的数据源连接信息。
2、修改数据库驱动