뇌운동일지

[Spring] could not open jdbc connection for transaction 본문

Spring

[Spring] could not open jdbc connection for transaction

purpleduck 2021. 4. 29. 21:28

DB 접속 정보를 jdbc 에서 jndi 로 변경 후, 서버 재실행할 경우, 이러한 오류가 발생했다. 

could not open jdbc connection for transaction

java.sql.sqlexception no suitable driver

java.sql.SQLException: cannot create jdbc driver of class '' for connect url 'null'

 

web.xml applicationContext.xml 

tomcat server 의 context.xml 등을 모두 확인했는데도 반복적으로 오류 발생 

-> maven build 다시해서 해결했다. 

'Spring' 카테고리의 다른 글

[Spring] framework VS library, sqlSession, Spring Service Layer  (0) 2021.03.23
CORS  (0) 2021.03.11
JNDI  (0) 2021.03.11
spring 에서 .xml 설정 이해하기  (0) 2021.03.09
spring 실행순서  (0) 2021.03.09
Comments