有人见过这样的错么?
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
root cause
java.lang.StackOverflowError
com.xmart.hr.admin.model.entity.Promotion.setEmpId(Promotion.java:33)
com.xmart.hr.admin.model.entity.Promotion.setEmpId(Promotion.java:33)
com.xmart.hr.admin.model.entity.Promotion.setEmpId(Promotion.java:33)
com.xmart.hr.admin.model.entity.Promotion.setEmpId(Promotion.java:33)
com.xmart.hr.admin.model.entity.Promotion.setEmpId(Promotion.java:33)
com.xmart.hr.admin.model.entity.Promotion.setEmpId(Promotion.java:33)
com.xmart.hr.admin.model.entity.Promotion.setEmpId(Promotion.java:33)
promotion 是我写的一个bean,里面还有其他一些get,set函数,当我想把数据通过bean传到jsp上显示的时候,就出现这样的错误,当我在把程序中的setEmpid()注释掉,其他的值能正确显示,很怪异。