개발자의 끄적끄적

[Spring Error] java.lang.NoClassDefFoundError: org/apache/commons/pool/KeyedObjectPoolFactory 문제 해결 본문

개발/java & jsp

[Spring Error] java.lang.NoClassDefFoundError: org/apache/commons/pool/KeyedObjectPoolFactory 문제 해결

효벨 2020. 3. 20. 02:00
728x90
반응형

[Spring Error] java.lang.NoClassDefFoundError: org/apache/commons/pool/KeyedObjectPoolFactory 문제 해결

 

 

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'appProcess' defined in ServletContext resource
[/WEB-INF/Appdi-servlet.xml]: Cannot resolve reference to bean 'SimpleJdbcTemplate' while setting bean property 'template';

nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SimpleJdbcTemplate' defined in ServletContext resource

[/WEB-INF/Appdi-servlet.xml]: Cannot resolve reference to bean 'DataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DataSource' defined in ServletContext resource

[/WEB-INF/Appdi-servlet.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/KeyedObjectPoolFactory

Spring 에서 mysql 로 JDBC 구현할 때, 저딴 에러가 나면 그냥 파일하나 lib 에 넣어주면된다...ㅠㅠ;
commons-pool-1.5.6.jar

 

 

출처 : https://winmargo.tistory.com/144

반응형
Comments