728x90
๋ฐ์ํ
eclipse ์๋ฌ ๋ฉ์์ง :
java.lang.AbstractMethodError: Receiver class oracle.jdbc.driver.T4CConnection does not define or inherit an implementation of the resolved method 'abstract boolean isValid(int)' of interface java.sql.Connection.
์๋ธ๋ฆฟ์ ์คํ์์ผฐ์ ๋ ํ๋ฉด์ด ๋์ค์ง ์๋๋ค.
ํด๊ฒฐ :
Servers ํ๋ก์ ํธ์ context.xml ํ์ผ์ <Resource>ํ๊ทธ ์์ factory="org.apache.tomcat.jdbc.pool.DataSourceFactory" ์ฝ์
<Resource
name = "jdbc/oracle"
auth = "Container"
type = "javax.sql.DataSource"
driverClassName = "oracle.jdbc.OracleDriver"
url = "jdbc:oracle:thin:@localhost:1521:XE"
username = "**"
password = "**"
maxActive = "*"
maxWait = "*"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
>
</Resource>โ
728x90
๋ฐ์ํ
'studies > Back-end' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
gradle wrapper ๋ช ๋ น ์ ๋จน์ ๋ (0) | 2020.06.21 |
---|---|
[Spring] ์คํ๋ง ๊ฐ๋ฐ์ ์ํ Maven, Gradle ์ค์น์ ํ๊ฒฝ๋ณ์ ์ค์ (0) | 2020.06.21 |
[objective C] Visual Studio ๋ค๋ฅธ ํ๋ก์ ํธ๊ฐ ์คํ๋ ๋ ๋ฌธ์ ํด๊ฒฐ (0) | 2020.06.03 |
Linux ๋ฆฌ๋ ์ค์์ Java ํด๋์ค ํ์ผ ์ปดํ์ผํ๊ธฐ (0) | 2020.05.30 |
[MariaDB/JSP] ClassNotFoundException ์๋ฌ ํด๊ฒฐ๋ฐฉ๋ฒ (0) | 2020.05.27 |