search
LoginSignup
17
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

updated at

Spring MVCの分かり難いエラー(はまりました)

以下のエラーが画面に表示された場合

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Wed Apr 22 00:33:24 JST 2015
There was an unexpected error (type=Bad Request, status=400).
Validation failed for object='userForm'. Error count: 1

これは、画像にも記載しましたが、
引数のvalidation対象のオブジェクト直後にBindingResultが無い場合に起こるエラーです。
エラーからはそれが判断できないので、悩んでしまいます。

キャプチャ.PNG

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
17
Help us understand the problem. What are the problem?