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
반응형
'농장 > Java·Kotlin' 카테고리의 다른 글
Java GUI (awt 기준) 한글 깨짐 오류 해결 (0) | 2020.10.20 |
---|---|
java.io.File 특정 파일만 파일 생성 안될 때 해결 - 논리오류 고치기 (0) | 2020.07.29 |
[ JSP ] 이클립스에서 Mapping - WebContent의 'web.xml' 생성하기 (0) | 2020.04.28 |
[JavaFX] 메모 (0) | 2020.03.28 |
JavaFX 설치와 이클립스 연동 (4) | 2020.03.27 |