xuqiangxing1991 2015-03-16 07:56 采纳率: 0%
浏览 9682

tomcat日志调到debug,不报错但一直循环

springmvc + spring + mybatis

tomcat日志调到debug,不报错但一直循环,如下:、
Creating shared instance of singleton bean 'trendsOperatorMapper'
Creating instance of bean 'trendsOperatorMapper'
Eagerly caching bean 'trendsOperatorMapper' to allow for resolving potential circular references
Processing injected method of bean 'trendsOperatorMapper': AutowiredMethodElement for public final void org.mybatis.spring.support.SqlSessionDaoSupport.setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate)
Processing injected method of bean 'trendsOperatorMapper': AutowiredMethodElement for public final void org.mybatis.spring.support.SqlSessionDaoSupport.setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory)
Returning eagerly cached instance of singleton bean 'trendsOperatorMapper' that is not fully initialized yet - a consequence of a circular reference
Creating shared instance of singleton bean 'sqlSessionFactory'
Creating instance of bean 'sqlSessionFactory'
Eagerly caching bean 'sqlSessionFactory' to allow for resolving potential circular references
Creating shared instance of singleton bean 'dataSource'
Creating instance of bean 'dataSource'
Eagerly caching bean 'dataSource' to allow for resolving potential circular references
Creating shared instance of singleton bean 'dataSource_model1'
Creating instance of bean 'dataSource_model1'
Ignoring bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'trendsOperatorMapper': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public final void org.mybatis.spring.support.SqlSessionDaoSupport.setSqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in URL [jar:file:/data/webserver/webroot_meng/WebRoot/WEB-INF/lib/DaguuCenterServiceV2-1.0-SNAPSHOT.jar!/spring/applicationContext-base.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 URL [jar:file:/data/webserver/webroot_meng/WebRoot/WEB-INF/lib/DaguuCenterServiceV2-1.0-SNAPSHOT.jar!/spring/applicationContext-base.xml]: Cannot resolve reference to bean 'dataSource_model1' while setting bean property 'targetDataSources' with key [TypedStringValue: value [model1], target type [class java.lang.String]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource_model1' defined in URL [jar:file:/data/webserver/webroot_meng/WebRoot/WEB-INF/lib/DaguuCenterServiceV2-1.0-SNAPSHOT.jar!/spring/applicationContext-base.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.mchange.v2.c3p0.ComboPooledDataSource]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.mchange.v2.c3p0.impl.C3P0Defaults
Creating shared instance of singleton bean 'sqlSessionFactory'
Creating instance of bean 'sqlSessionFactory'
Eagerly caching bean 'sqlSessionFactory' to allow for resolving potential circular references

  • 写回答

2条回答 默认 最新

  • bob548811888 2016-11-08 01:57
    关注

    多试几次,一直等着就行,若出现长时间(10分钟以上)循环,就重新再启动。根本原因是你机子太差,处理速度跟不上。

    评论

报告相同问题?

悬赏问题

  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?