运行报错,可能跟数据库有关
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon Feb 24 19:38:31 CST 2020
There was an unexpected error (type=Internal Server Error, status=500).
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'third' in 'field list' ### The error may exist in file [D:\maven projects\miaosha\target\classes\mapping\UserDOMapper.xml] ### The error may involve com.miaoshaproject.dao.UserDOMapper.selectByPrimaryKey-Inline ### The error occurred while setting parameters ### SQL: select id, name, gender, age, telephone, register_mode, third-party_id from user_info where id = ? ### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'third' in 'field list' ; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'third' in 'field list'