华为信息接口EIESmProxyApi.jar 后项目启动报错=====

噬妖麒 2013-07-22 10:16:24
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ageAndSexDAO' defined in file [D:\j2ee\tomcat6\webapps\ht_prodata\WEB-INF\classes\spring\AgeAndSexStart_task.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot create inner bean '(inner bean)' of type [org.springframework.transaction.interceptor.TransactionInterceptor] while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [D:\j2ee\tomcat6\webapps\ht_prodata\WEB-INF\classes\spring\applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [D:\j2ee\tomcat6\webapps\ht_prodata\WEB-INF\classes\spring\applicationContext.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\j2ee\tomcat6\webapps\ht_prodata\WEB-INF\classes\spring\applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'maxIdleTimeExcessConnections' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]: No property 'maxIdleTimeExcessConnections' found
当我把EIESmProxyApi.jar 移除的时候,项目启动正常。
查看错误最后一句是:maxIdleTimeExcessConnections 没有找到,而我c3p0中的参数明确设置了。
于是把这个参数去掉,项目突然能启动了。却发现项目又报另一种错误。首先这个maxIdleTimeExcessConnections 参数是不能却掉的。求大神指导

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [、applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'maxIdleTimeExcessConnections' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]: No property 'maxIdleTimeExcessConnections' found
...全文
97 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
噬妖麒 2013-07-23
  • 打赏
  • 举报
回复
怎么没有人会呢?

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧