register测试时报错~

来源:6-9 用户模块所有功能自测试

dsjifdsbjkv

2017-06-08

  1. [21:59:13.231][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] Creating a new SqlSession

  2. [21:59:13.231][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4f4fd7] was not registered for synchronization because synchronization is not active

  3. [21:59:13.233][DEBUG][o.m.s.t.SpringManagedTransaction][http-apr-8080-exec-1] JDBC Connection [jdbc:mysql://127.0.0.1:3306/javaweb?characterEncoding=utf-8, UserName=root@localhost, MySQL-AB JDBC Driver] will not be managed by Spring

  4. [21:59:13.233][DEBUG][com.javashop.dao.UserMapper.checkEmail][http-apr-8080-exec-1] ==>  Preparing: select count(1) from mmall_user where email = ? 

  5. [21:59:13.234][DEBUG][com.javashop.dao.UserMapper.checkEmail][http-apr-8080-exec-1] ==> Parameters: admin141324(String)

  6. [21:59:13.235][DEBUG][com.javashop.dao.UserMapper.checkEmail][http-apr-8080-exec-1] <==      Total: 1

  7. [21:59:13.235][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4f4fd7]

  8. [21:59:13.235][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] Creating a new SqlSession

  9. [21:59:13.235][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1686443] was not registered for synchronization because synchronization is not active

  10. [21:59:13.236][DEBUG][o.m.s.t.SpringManagedTransaction][http-apr-8080-exec-1] JDBC Connection [jdbc:mysql://127.0.0.1:3306/javaweb?characterEncoding=utf-8, UserName=root@localhost, MySQL-AB JDBC Driver] will not be managed by Spring

  11. [21:59:13.236][DEBUG][com.javashop.dao.UserMapper.insert][http-apr-8080-exec-1] ==>  Preparing: insert into mmall_user (id, username, password, email, phone, question, answer, role, create_time, update_time) values (?, ?, ?, ?, ?, ?, ?, ?, now(), now()) 

  12. [21:59:13.237][DEBUG][com.javashop.dao.UserMapper.insert][http-apr-8080-exec-1] ==> Parameters: null, admin141324(String), BBAD8D72C1FAC1D081727158807A8798(String), testtest@happymal.coml(String), 13800138000(String), 问题(String), 问题的回答(String), 0(Integer)

  13. [21:59:13.367][DEBUG][org.mybatis.spring.SqlSessionUtils][http-apr-8080-exec-1] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1686443]


写回答

3回答

dsjifdsbjkv

提问者

2017-06-08

//szimg.mukewang.com/59395ffc000187dc08480256.jpg

//szimg.mukewang.com/59395ffc0001082810930166.jpg21321


0
0

dsjifdsbjkv

提问者

2017-06-08

这个解决了 是唯一索引, 问题来了 当send时返回200 msg:注册失败 可数据库中记录增加了  是什么问题

0
2
慕丝6684160
这个咋解决的啊?
2017-06-12
共2条回复

dsjifdsbjkv

提问者

2017-06-08

500 Internal Server Error

0
0

从0开始 独立完成企业级Java电商网站服务端开发

前后端分离,数据库接口设计,架构设计,功能开发,上线运维

9476 学习 · 8804 问题

查看课程