質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,20 +12,4 @@
|
|
12
12
|
|
13
13
|
org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
|
14
14
|
|
15
|
-
Field error in object 'KakeiboForm' on field 'kingaku': rejected value []; codes [typeMismatch.KakeiboForm.kingaku,typeMismatch.kingaku,typeMismatch.int,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [KakeiboForm.kingaku,kingaku]; arguments []; default message [kingaku]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'int' for property 'kingaku'; nested exception is **java.lang.NumberFormatException**: For input string: "
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
備考:部分一致検索の機能を作ろうとしたときのエラー
|
26
|
-
|
27
|
-
int kingaku==null //エラー内容:演算子 == は引数の型 int, null で未定義です
|
28
|
-
|
29
|
-
kingaku.equals(null) //エラー内容:equals(null) を基本タイプ int で起動できません
|
30
|
-
|
31
|
-
↑これにも関わるエラーだと思っています。
|
15
|
+
Field error in object 'KakeiboForm' on field 'kingaku': rejected value []; codes [typeMismatch.KakeiboForm.kingaku,typeMismatch.kingaku,typeMismatch.int,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [KakeiboForm.kingaku,kingaku]; arguments []; default message [kingaku]]; default message [Failed to convert property value of type 'java.lang.String' to required type 'int' for property 'kingaku'; nested exception is **java.lang.NumberFormatException**: For input string: "
|