-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
数据库移植出了一点问题 #8
Comments
能看看你UserService 第20行左右的代码吗 |
这个就是空指针嘛,要么你 |
我试试 |
大神,就是根据你的提示我去排查了一下 findname()那个方法,做 了几个测试应该是没有问题的,userDao哪里是可以拿到数据的。但是还是会出现null空指针的问题。 : Authentication failed for token submission [com.example.demo.shiro.JWTToken@635744c8]. Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
java.lang.NullPointerException: null 你可以帮我看一下是哪里出了问题么。 |
这种问题还是靠自己吧,我也没时间( • ̀ω•́ )✧ |
嗯呢,感觉自己对jwt哪里还有点问题。我再看看,谢谢大佬给的思路。 |
好吧,对不住了 |
@liliangbin 请问你解决了吗,我今天花了一天,跟你一样的错误。头发快没了 |
emmm,那个我也是不知道出在哪里问题,但是我后来就根据楼主的思路,我就自己重新写了一个过滤器,然后自己把那个jwt 和shiro结合起来。就可以了。我把我写好的那个例子发给你看看吧。 我的代码水平不是很高,也还没有多少时间来好好的修修一些小毛病。先看着吧。有事你再问我 |
@liliangbin |
大佬你好,我就是在移植你那个数据,改到MySQL数据库时,出了一个很奇怪的问题
.这个是地方百度了也是没有找到什么解决办法。
那个Authentication failed for token submission他是出在什么地方啦,大佬有什么解决的办法啊。头大撞墙
The text was updated successfully, but these errors were encountered: