使用SpringBoot实现登录注册的几个问题

一、用户名密码都正确的情况下被登录拦截器拦截

使用SpringBoot实现登录注册的几个问题_第1张图片

 

 

 

控制台报错:org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.spbt.mapper.EmpeeMapper.selectName'.  It's likely that neither a Result Type nor a Result Map was specified.

这个异常是在mapper文件的
select username from empee where username=#{username}






可以发现我的