为了账号安全,请及时绑定邮箱和手机立即绑定

最后面访问根目录没有输出对象不存在,报了个错!求大神解答....

Whitelabel Error Page

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

Sat Dec 29 22:54:39 CST 2018

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:\tts9\ideaWorkspace\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, telphone, 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'


正在回答

2 回答

检查一下你的sql语句,还有你的实体类与表的字段,

thirdPartyid

这个字段看一下

0 回复 有任何疑惑可以回复我~

IDEA里面app类27行,输入id为1的那行报错

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

最后面访问根目录没有输出对象不存在,报了个错!求大神解答....

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信