spring data jpa javax.el.PropertyNotFoundException

严重: Servlet.service() for servlet jsp threw exception

javax.el.PropertyNotFoundException: Property 'checkResult' not readable on type com.elk.DTO.elk.WatcherDTO: Property 'checkResult' not readable on type com.elk.DTO.elk.WatcherDTO


自动生成的set,get方法有问题,当类型为boolean时,生成的方法为 isXXX,改为getXXX即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章