zoukankan      html  css  js  c++  java
  • idea在debugger模式下无法启动,但是在run模式下可以启动的问题

    debugger模式下,启动idea,总是报内存溢出异常,

    Error creating bean with name 'sysRoleUserMapper' defined in URL [jar:file:/E:/java_erp_new/heaton/heaton-web/target/heaton-web-1.0-SNAPSHOT/WEB-INF/lib/heaton-system-1.0-SNAPSHOT.jar!/org/hc/heaton/system/member/dao/SysRoleUserMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory': : Error creating bean with name 'sqlSessionFactory' defined in file [E:java_erp_newheatonheaton-web argetheaton-web-1.0-SNAPSHOTWEB-INFclassesspringspring-mybatis.xml]: Cannot resolve reference to bean 'dataSourceERP' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceERP' defined in file [E:java_erp_newheatonheaton-web argetheaton-web-1.0-SNAPSHOTWEB-INFclassesspringspring-mybatis.xml]: Instantiation of bean failed; nested exception is java.lang.StackOverflowError; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [E:java_erp_newheatonheaton-web argetheaton-web-1.0-SNAPSHOTWEB-INFclassesspringspring-mybatis.xml]: Cannot resolve reference to bean 'dataSourceERP' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceERP' defined in file [E:java_erp_newheatonheaton-web argetheaton-web-1.0-SNAPSHOTWEB-INFclassesspringspring-mybatis.xml]: Instantiation of bean failed; nested exception is java.lang.StackOverflowError 

    原因是:代码中有陷入死循环的方法,可以检查代码中的方法是否有死循环或者 Mapper映射的大小写;如果实在难找,可以用排除法,一个类一个类的删掉来排查,虽然费劲,但是却有效

  • 相关阅读:
    关于读取Unity 配置的方案
    有关于Node.js 的最简单的概念
    小小的储备知识:有关于读取section 节点的数据
    Discuz!NT 慢慢分析之开篇Config 的实现
    Additional notes in PHP source code auditing
    Zabbix 基于WEB企业级的系统与网络信息监视系统
    Web漏洞检查工具 Wapiti
    Safe3 网站DDOS防火墙
    Web杀毒v1.0
    免费开源安全网关Untangle
  • 原文地址:https://www.cnblogs.com/panbin/p/7651530.html
Copyright © 2011-2022 走看看