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难题
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度