报错JDBC Connection [com.mysql.jdbc.JDBC4Connection@184c65da] will not be managed by Spring

折腾了一个下午,报了这个错,现在找出原因了,就是密码错误,不要避开md5(不要直接在数据库加入个可见的密码用来登录)

先注册,记住注册的密码,在用这个密码,登录


不要用这种密码登录

2018-04-21 21:09:11,766 [http-bio-8084-exec-7] [org.springframework.web.servlet.DispatcherServlet]-[DEBUG] DispatcherServlet with name 'taotao-sso' processing POST request for [/user/selectlogin]
2018-04-21 21:09:11,767 [http-bio-8084-exec-7] [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping]-[DEBUG] Looking up handler method for path /user/selectlogin
2018-04-21 21:09:11,767 [http-bio-8084-exec-7] [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping]-[DEBUG] Returning handler method [public com.taotao.common.pojo.TaotaoResult com.taotao.sso.controller.UserController.userLogin(java.lang.String,java.lang.String)]
2018-04-21 21:09:11,767 [http-bio-8084-exec-7] [org.springframework.beans.factory.support.DefaultListableBeanFactory]-[DEBUG] Returning cached instance of singleton bean 'userController'
2018-04-21 21:09:11,768 [http-bio-8084-exec-7] [org.mybatis.spring.SqlSessionUtils]-[DEBUG] Creating a new SqlSession
2018-04-21 21:09:11,768 [http-bio-8084-exec-7] [org.mybatis.spring.SqlSessionUtils]-[DEBUG] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6438ec85] was not registered for synchronization because synchronization is not active
2018-04-21 21:09:11,769 [http-bio-8084-exec-7] [org.springframework.jdbc.datasource.DataSourceUtils]-[DEBUG] Fetching JDBC Connection from DataSource
2018-04-21 21:09:11,769 [http-bio-8084-exec-7] [org.mybatis.spring.transaction.SpringManagedTransaction]-[DEBUG] JDBC Connection [com.mysql.jdbc.JDBC4Connection@184c65da] will not be managed by Spring
2018-04-21 21:09:11,769 [http-bio-8084-exec-7] [com.taotao.mapper.TbUserMapper.selectByExample]-[DEBUG] ==>  Preparing: select id, username, password, phone, email, created, updated from tb_user WHERE ( username = ? ) 
2018-04-21 21:09:11,770 [http-bio-8084-exec-7] [com.taotao.mapper.TbUserMapper.selectByExample]-[DEBUG] ==> Parameters: ww(String)
2018-04-21 21:09:11,772 [http-bio-8084-exec-7] [com.taotao.mapper.TbUserMapper.selectByExample]-[DEBUG] <==      Total: 1
2018-04-21 21:09:11,772 [http-bio-8084-exec-7] [org.mybatis.spring.SqlSessionUtils]-[DEBUG] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@6438ec85]
2018-04-21 21:09:11,773 [http-bio-8084-exec-7] [org.springframework.jdbc.datasource.DataSourceUtils]-[DEBUG] Returning JDBC Connection to DataSource
2018-04-21 21:09:11,773 [http-bio-8084-exec-7] [org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdviceChain]-[DEBUG] Invoking ResponseBodyAdvice chain for body=com.taotao.common.pojo.TaotaoResult@64d559aa
2018-04-21 21:09:11,773 [http-bio-8084-exec-7] [org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdviceChain]-[DEBUG] After ResponseBodyAdvice chain body=com.taotao.common.pojo.TaotaoResult@64d559aa
2018-04-21 21:09:11,774 [http-bio-8084-exec-7] [org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor]-[DEBUG] Written [com.taotao.common.pojo.TaotaoResult@64d559aa] as "application/json;charset=UTF-8" using [org.springframework.http.converter.json.MappingJackson2HttpMessageConverter@25272bc4]
2018-04-21 21:09:11,774 [http-bio-8084-exec-7] [org.springframework.web.servlet.DispatcherServlet]-[DEBUG] Null ModelAndView returned to DispatcherServlet with name 'taotao-sso': assuming HandlerAdapter completed request handling
2018-04-21 21:09:11,774 [http-bio-8084-exec-7] [org.springframework.web.servlet.DispatcherServlet]-[DEBUG] Successfully completed request

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值