AliSerGok / AliSerGok/SWE573-AliserGok

template creatiion and required type 'java.util.List' error

オープン
#20 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug enhancement help wanted improvement question
主要言語
HTML
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

I create a Template an DataFields object in html, but I cannot send this template object to the controller. It sends the object as a Json list, but the controller must receive it as a java list.

Failed to convert value of type 'java.lang.String' to required type 'java.util.List'; For input string: "[1,2,3]"
org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'java.util.List'; For input string: "[1,2,3]"
at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.convertIfNecessary(AbstractNamedValueMethodArgumentResolver.java:302)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。