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