调接口时报错:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Aug 16 16:02:38 CST 2018
There was an unexpected error (type=Internal Server Error, status=500).
could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
原因:数据库字段与实体bean属性对不上
本文详细解析了调用接口时出现WhitelabelErrorPage错误的原因,指出这通常由于数据库字段与实体bean属性不匹配导致,并提供了相应的排查思路。
810

被折叠的 条评论
为什么被折叠?



