解决‘ORA-12505, TNS:listener does not currently know of SID given in connect descriptor’
完整的错误信息如下:java.sql.SQLException:Listenerrefusedtheconnectionwiththefollowingerror:ORA-12505,TNS:listenerdoesnotcurrentlyknowofSIDgiveninconnectdescriptorTheConnectiondescriptorusedbytheclientwas