Use JSTL to report an error when traversing the list set
javax.el.PropertyNotFoundException: Property [department] not found on type [com.studying.model.Employee]
However, the Department font> attribute in the data transmitted from the back end has a value
Error reason
After careful search, it is found that the set/get font> method of attribute Department font> has been forgotten in the employee font> class
public Department getDepartment() {
return department;
}
public void setDepartment(Department department) {
this.department = department;
}
Read More:
- Top35: pychar reports an error when connecting to MySQL server returns invalid timezone. Need to set ‘servertimezone’ property
- After upgrading windows 11, Wireshark can’t get list of interfaces: packetgetadapternames reports an error
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- Hadoop reports an error. Cannot access scala.serializable and python MapReduce reports an error
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- Mysql reports an error Operand should contain 1 column(s)
- python3 Error in sitecustomize; set PYTHONVERBOSE for traceback: NameError: name ‘modules_list’ …
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- Lamdba in the studio part reports an error. Observe lamdba reports an error but can run
- An error occurred when installing vs2017: failed to verify the signature of the installation program list
- The Vue parent component uses ref to call the sub component method and reports an error
- The idea code pushes to GitHub and reports an error fatal: unable to access
- QT + MySQL generates an EXE file and reports an error “driver not loaded”. Solution steps
- The C language qsort() function reports an error for overflow of – 2147483648 and 2147483648
- Homebrew reports an error after upgrading MacOS to Big Sur
- Unit Android converts c# class to JSON file and reports an error
- Zeppelin uses spark to connect to MySQL and reports an error
- Mybatis uses step-by-step lazy loading to cause abnormal JSON conversion. The interface 500 reports an error
- Vue3. X reports an error using vantui. Failed to resolve component: Van-**-**
- When Dbeaver starts on Mac, it reports an error: “fail to create java virtual machine”