严重: 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 Caused by: java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool at java.lang.Class.getDeclaredConstructors0(Native Method) 。 【2】解决方案:common-pool.jar 少这个jar包 ,导进ok参考资料:http://hi.baidu.com/zhangjunmei54/blog/item/3ac17f06379674c77a894706.html后续不段更新中,希望有心人遇到什么的疑难异常也分享下啊
出现Servlet action is not available 的问题解决方法: 检查lib中spring-web.jar包是否存在,如不存在,则从myeclipse中找到spring-web.jar,复制到发布的lib目录中。问题: Thread-1] ERROR org.springframework.web.struts.ContextLoaderPlugIn - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'myDataSource' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Class that bean class [org.apache.commons.dbcp.BasicDataSource] depends on not found; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool加入commons-pool.jar包。问题解决
参考资料: http://apps.hi.baidu.com/share/detail/7263674
http://blog.csdn.net/m232341339/article/details/3201104
http://hi.baidu.com/fttp/blog/item/5fa4be3dd4faca0dbaa167f2.html http://topic.csdn.net/u/20090610/09/a61283e6-e383-4cd7-a6d4-e1fbf0780706.html
严重: 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
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool at java.lang.Class.getDeclaredConstructors0(Native Method)
。
【2】解决方案:common-pool.jar 少这个jar包 ,导进ok参考资料:http://hi.baidu.com/zhangjunmei54/blog/item/3ac17f06379674c77a894706.html后续不段更新中,希望有心人遇到什么的疑难异常也分享下啊
检查lib中spring-web.jar包是否存在,如不存在,则从myeclipse中找到spring-web.jar,复制到发布的lib目录中。问题:
Thread-1] ERROR org.springframework.web.struts.ContextLoaderPlugIn - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'myDataSource' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Class that bean class [org.apache.commons.dbcp.BasicDataSource] depends on not found; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool
java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool加入commons-pool.jar包。问题解决
http://blog.csdn.net/m232341339/article/details/3201104
http://hi.baidu.com/fttp/blog/item/5fa4be3dd4faca0dbaa167f2.html http://topic.csdn.net/u/20090610/09/a61283e6-e383-4cd7-a6d4-e1fbf0780706.html