解決:EL1007E: Property or field xxxxx cannot be found on null

解決:EL1007E: Property or field ‘xxxxx’ cannot be found on null

Springboot項目的前端的thymleaf報這樣的錯

原因:

①後臺傳到前端的對象裏沒有xxxxx屬性
②前端取屬性xxxxx的名字寫錯了,所以取值不到

有問題可以私聊我!
會一直分享開發遇到的問題!覺得有幫助可以關注我!~~

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