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

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 slaris 系统断电后,重新开机后一直自动重启
  • ¥15 QTableWidget重绘程序崩溃
  • ¥15 51寻迹小车定点寻迹
  • ¥15 谁能帮我看看这拒稿理由啥意思啊阿啊
  • ¥15 关于vue2中methods使用call修改this指向的问题
  • ¥15 idea自动补全键位冲突
  • ¥15 请教一下写代码,代码好难
  • ¥15 iis10中如何阻止别人网站重定向到我的网站
  • ¥15 滑块验证码移动速度不一致问题
  • ¥15 Utunbu中vscode下cern root工作台中写的程序root的头文件无法包含