slf4j:failed to load Class "Org.slf4j.impl.StaticLoggerBinder".
Slf4j:see Http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "main" org.apache.ibatis.exceptions.PersistenceException:
# # # Error updating database. Cause:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:You has an error in your SQL syntax; Check the manual-corresponds to your MySQL server version for the right syntax-to-use-near '} ' on line 1
# # # The error may involve com.qf.pojo.ytusermapper.adduser-inline
# # # The error occurred while setting parameters
# # # Sql:insert into Ytuser (Username,password) values (?, {password})
# # # Cause:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:You has an error in your SQL syntax; Check the manual-corresponds to your MySQL server version for the right syntax-to-use-near '} ' on line 1
Youdao translation:
SLF4J: Failed to load Class "Org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html Staticloggerbinder for further details.
Exception thread "PRIMARY" Org.apache.ibatis.exceptions.PersistenceException:
# # #错误更新数据库. cause: COM.MYSQL.JDBC.EXCEPTIONS.JDBC4. mysqlsyntaxerrorexception: You have a mistake in your SQL syntax; Check the manual that corresponds to the MySQL server version for correct syntax use "}" on line 1th
# # #错误可能涉及com. qf.pojo.ytusermapper.adduser-inline
An error occurred while setting the parameter
# # SQL: Insert ytuser (user name, password) value (?, {password})
# # #原因: COM.MYSQL.JDBC.EXCEPTIONS.JDBC4. mysqlsyntaxerrorexception: You have a mistake in your SQL syntax; Check the manual that corresponds to the MySQL server version for correct syntax use "}" on line 1th
Workaround:
The whole error message is around SQL, so focus on some of the configuration in SQL
Focus: # # # Sql:insert into Ytuser (Username,password) values (?, {password}) this sentence
Plus
Run successfully.
Error Updating database: Thread exception