Saturday 16 May 2020

Spring Error display on front end :- Failed to convert property value of type java.lang.String to required type int for property freePasses; nested exception is java.lang.NumberFormatException: For input string: ""

Solution:-


This error is occurred because we are applying @NotNull annotation on int feild so we have to change that field into Integer to solve the error.

No comments:

Post a Comment

Error While embed the video in Your website page

Error:- Refused to display '<URL>' in a frame because it set 'X-Frame-Options' to 'sameorigin Solution:- if ...