有人见过这样的错么?

njnu_zhoubo njnu_zhoubo 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

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()注释掉,其他的值能正确显示,很怪异。
...全文

相关推荐

评论 7
收藏 已收藏
分享
返回顶部
njnu_zhoubo
Web 开发 81,108 成员 341,721 内容