質問編集履歴

2

エラー文の修正

2023/01/08 03:35

投稿

Mason
Mason

スコア14

test CHANGED
@@ -1 +1 @@
1
- No message found under code 'age' for locale 'ja' を解決したいです。
1
+ No message found under code 'male' for locale 'ja' を解決したいです。
test CHANGED
@@ -13,8 +13,8 @@
13
13
 
14
14
  ```
15
15
  There was an unexpected error (type=Internal Server Error, status=500).
16
- No message found under code 'age' for locale 'ja'.
16
+ No message found under code 'male' for locale 'ja'.
17
- org.springframework.context.NoSuchMessageException: No message found under code 'age' for locale 'ja'.
17
+ org.springframework.context.NoSuchMessageException: No message found under code 'male' for locale 'ja'.
18
18
  at org.springframework.context.support.DelegatingMessageSource.getMessage(DelegatingMessageSource.java:76)
19
19
  at com.example.application.service.UserApplicationService.getGenderMap(UserApplicationService.java:20)
20
20
  at com.example.controller.SignupController.getSignup(SignupController.java:44)

1

messages.propertiesファイル名の修正

2023/01/07 12:38

投稿

Mason
Mason

スコア14

test CHANGED
File without changes
test CHANGED
@@ -176,7 +176,7 @@
176
176
  }
177
177
  ```
178
178
 
179
- ```messaegs.properties
179
+ ```messages.properties
180
180
  user.signup.title=ユーザー登録
181
181
  user.signup.btn=ユーザー登録
182
182
  userId=ユーザーID