JDBC Connection [HikariProxyConnection@1097182675 wrapping com.mysql.cj.jdbc.ConnectionImpl@601254a9] will not be managed by Spring ==> Preparing: SELECT id,username,password,sex,email,synopsis,avatar_url,phone_number,create_time,update_time,code FROM user WHERE (email = ?) ==> Parameters: 2777438826@qq.com(String) <== Total: 0 Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1bac6092] 2777438826@qq.com Creating a new SqlSession SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6ebe3965] was not registered for synchronization because synchronization is not active JDBC Connection [HikariProxyConnection@1618594498 wrapping com.mysql.cj.jdbc.ConnectionImpl@601254a9] will not be managed by Spring ==> Preparing: SELECT id,username,password,sex,email,synopsis,avatar_url,phone_number,create_time,update_time,code FROM user WHERE (email = ?) ==> Parameters: 2777438826@qq.com(String) <== Total: 0 Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6ebe3965] 2023-06-01 11:26:08.871 ERROR 11672 --- [io-9090-exec-10] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
时间: 2024-04-28 12:25:06 浏览: 121
com.huawei.gauss.jdbc.ZenithDriver.jar
这个错误可能是由于你的代码中有一个空指针异常。在这种情况下,可能是在使用 MyBatis 进行数据库操作时,出现了一个空的返回结果,导致在后续的代码中出现了空指针异常。你需要检查你的代码,看看是否有可能出现空值,或者是检查查询语句是否正确。如果你能提供更多的代码和相关的错误信息,我可以更好地帮助你解决这个问题。
阅读全文