SimpleAuthenticationInfo找不到方法
SimpleAuthenticationInfo?對(duì)象實(shí)例里 找不到setRoles(roles)?方法 SimpleAuthenticationInfo??auth=new?SimpleAuthenticationInfo?(); auth.setStringPermissions(permis);//會(huì)報(bào)錯(cuò),提示找不到方法 auth.setRoles(roles);????//會(huì)報(bào)錯(cuò),提示找不到方法 什么問題?是版本問題導(dǎo)致的嗎?
2019-03-16
我也是,都怪他們長得太像了
2018-08-14
問題找到了,類寫錯(cuò)導(dǎo)致,應(yīng)該為
粗心大意了!