九月 08, 2017 4:23:27 下午 org.hibernate.util.JDBCExceptionReporter logExceptions
严重: Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptor 九月 08, 2017 4:23:27 下午 org.hibernate.cfg.SettingsFactory buildSettings
警告: Could not obtain connection metadatajava.sql.SQLException: Listener refused the connection with the following error:ORA-12505, TNS:listener does not currently know of SID given in connect descriptor at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412)at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:531)at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:221)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
at java.sql.DriverManager.getConnection(Unknown Source)
解决方式:
去Tomcat→webapp下面,把有问题的项目删掉(还不行就干脆重装汤姆猫)。咦,好像跟oracle没关系啊。。