在执行tree的buid方法出现如下错误

来源:4-2 Java权限管理之部分预先写好代码及内容功能介绍

慕粉3373523

2017-04-11 14:42

严重: Servlet.service() for servlet [contacts] in context with path [/efo] threw exception [Handler processing failed; nested exception is java.lang.StackOverflowError] with root cause

java.lang.StackOverflowError

at java.util.AbstractList.listIterator(Unknown Source)

at java.util.AbstractSequentialList.iterator(Unknown Source)

at com.efo.common.tree.Tree.buildTree(Tree.java:38)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

at com.efo.common.tree.Tree.buildTree(Tree.java:42)

http://img.mukewang.com/58ec7acc000138ae07560199.jpg

写回答 关注

1回答

  • Touchkiss
    2017-04-12 09:07:58

    StackOverflow  这个问题一般是你的程序里头可能是有死循环或递归调用所产生的;

Java实现权限管理(上)

Java权限管理系列教程之权限管理系统DAO层和服务层实现

63304 学习 · 58 问题

查看课程

相似问题