mysql+ssh出错
2010-12-0811:20:28,187ERROR[org.springframework.web.struts.ContextLoaderPlugIn]-<Cont...
2010-12-08 11:20:28,187 ERROR [org.springframework.web.struts.ContextLoaderPlugIn] - <Context initialization failed>
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [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
根据错误内容,应该是common-pool.jar包未加载到classpath中去。导致dataSource无法被创建。
怎么加到classpath中! classpath在哪儿? 展开
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [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
根据错误内容,应该是common-pool.jar包未加载到classpath中去。导致dataSource无法被创建。
怎么加到classpath中! classpath在哪儿? 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询