티스토리 뷰

반응형
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:context="http://www.springframework.org/schema/context"
	xsi:schemaLocation="http://www.springframework.org/schema/beans 
	https://www.springframework.org/schema/beans/spring-beans.xsd 
	http://www.springframework.org/schema/context 
	http://www.springframework.org/schema/context/spring-context-4.3.xsd">
	
	<bean id="hikariConfig" class="com.zaxxer.hikari.HikariConfig"> 
		<property name="driverClassName" value="oracle.jdbc.OracleDriver"></property>	
		<property name="jdbcUrl" value="jdbc:oracle:thin:@localhost:1521:orcl"></property>
		<property name="username" value="book_ex"></property>
		<property name="password" value="1234"></property>
	</bean>
	
	<bean id="dataSource" class="com.zaxxer.hikari.HikariDataSource" destroy-method="close">
		<constructor-arg ref="hikariConfig" />
	</bean>
	
	
	<context:component-scan base-package="org.zerock.sample"></context:component-scan>
	
		
</beans>

 

 

oracle.jdbc.driver.OracleDriver 를 지원 중단하셨답니다..........................................................

에라이

 

해당 부분을

oracle.jdbc.OracleDriver 로 변경하면 에러없이 접속 잘된다.

 

반응형