天天看點

警告: Error while extracting database product name - falling back to empty error codes

2011-12-16 10:14:24 org.springframework.jdbc.support.SQLErrorCodesFactory getErrorCodes

警告: Error while extracting database product name - falling back to empty error codes

org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:

ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

The Connection descriptor used by the client was:

localhost:1521:orcl

)

資料庫沒有寫對 不存在所連接配接的資料庫listener does not currently know of SID given in connect descriptor