Question
When using the SSM framework for a project, the field error in object ‘xxx’ on field ‘xxx’: rejected value [[], [], []…] font> problem occurs.
resolvent
when the value passed from the front end is null, the value cannot be converted to the corresponding type, which will lead to loading
c
o
n
t
r
o
l
l
e
r
controller
The controller code reported an error before Font>
for example:
u
r
l
:
url :
URL: ${pagecontext. Request. Contextpath}/book/toupdatepage/ ${book. Getbookid()} font>
if the red part is null, the field error in object ‘xxx’ on field ‘xxx’: rejected value [[], [], []…] font> problem will appear.
Therefore, to solve this problem, first check whether the value of the passed parameter is null, and then check whether the parameter type of the passed parameter is correct.
Read More:
- Ajax error reporting cross domain, AJAX cross domain access error 501 solution
- How to solve the cross domain problem of Axios in Vue project
- Error:kCFStreamErrorCodeKey=-2102 Domain=kCFErrorDomainCFNetwork Code=-1001 – iOS
- Solved: No’Access-Control-Allow-Origin’ cross-domain issue
- request:fail url not in domain list or Cannot send network request to localhost
- If the iframe in IE refers to the cross domain site page, the session fails
- Error domain = nsurlerrordomain code = – 1001 “request timeout occurred in swift alamofire get request. ” UserInfo={NSUnderlyingErro
- Solution to cross domain sharing problem of session
- 【ValueError: math domain error】
- Springboot plus cross domain annotation @crossorigin startup error
- Visual domain analysis of Python GDAL
- Nginx configures different domain names to access different projects
- Could not launch “” Domain: IDEDebugSessionErrorDomain Code: 3 Failure Rea
- Chrome setting — Disable web security to solve cross domain problems
- [Error report] PSpice frequency domain simulation AC Sweep “ERROR(ORPSIM-16103): Invalid value”
- didFailWithError: Error Domain=kCLErrorDomain Code=0 “The operation couldn’t be completed. (kCLError
- [MacOS] brew install 404:Bottle missing, falling back to the default domain…
- SQL Server “login failed for user ‘domain account”. [sqlstate 28000] (error 18456). “Problem solving
- MS SQL Could not obtain information about Windows NT group/user ‘domain\login’, error code 0x5. [SQ…
- IOS WebView failed to load the web page. Error domain = kcferrodomaincfnetwork code = 310 “there was a problem communicating with the secure web proxy server (HTTPS). “