Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Feb 12 20:31:19 CST 2019
There was an unexpected error (type=Internal Server Error, status=500).
Error resolving template [tan/get], template might not exist or might not be accessible by any of the configured Template Resolvers
当你在controller方法中访问数据库时,可能会报错,只需要在访问头部加上@ResponseBody即可。