Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'datasource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
解决方案: 去 findjar.com找到commons-dbcp-1.2.2.jar 放到Lib 目录下
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datasource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool
少包:解决同上 org/apache/commons/pool

相关文章:

  • 2022-01-22
  • 2021-07-14
  • 2021-10-04
  • 2021-07-28
  • 2021-10-30
  • 2021-10-27
  • 2021-06-13
猜你喜欢
  • 2021-08-18
  • 2021-09-07
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
  • 2018-03-19
相关资源
相似解决方案