restlet client测试出错
来源:6-9 用户模块所有功能自测试
qq_就是这样_8
2018-05-20
老师,我在用restlet client测试login时,后端能打印出账号和密码,但下面报: was not registered for synchronization because synchronization is not active
admin
999
[19:12:20.164][DEBUG][org.mybatis.spring.SqlSessionUtils]["http-bio-8080"-exec-7] Creating a new SqlSession
[19:12:20.191][DEBUG][org.mybatis.spring.SqlSessionUtils]["http-bio-8080"-exec-7] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@4764f274] was not registered for synchronization because synchronization is not active
这是浏览器端打印的日志
3localhost:8080/user/login.do Failed to load resource: net::ERR_CONNECTION_RESET
localhost:8080/user/login.do Failed to load resource: the server responded with a status of 500 (Internal Server Error)
4localhost:8080/user/login.do Failed to load resource: net::ERR_CONNECTION_RESET
localhost:8080/user/login.do Failed to load resource: the server responded with a status of 500 (Internal Server Error)
nexus-websocket-b.intercom.io/client-test Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED
nexus-websocket-a.intercom.io/client-test Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED
localhost:8080/user/login.do Failed to load resource: net::ERR_CONNECTION_RESET
2回答
-
qq_就是这样_8
提问者
2018-05-20
再次测试一直没有返回,一直卡在chekUsername上,浏览器一直等着,也不大于信息
00 -
qq_就是这样_8
提问者
2018-05-20
已经解决了,在UserMapprr里的接口的参数上都添加@Param就行了,为什么我参数一样还要加这个注解?
022018-06-07
相似问题