java.lang.String cannot be cast to java.lang.Long in Spring Security ACL
问题 I use Spring Security ACL plugin and have no ACLs set before. I want to access the following service method: @PostFilter("hasPermission(filterObject, read) or hasPermission(filterObject, admin)") List<Company> list(Map params = [:]) { return Company.list(params) } I gave permission to the admin user for a company. When I access the above method everything works fine. The problem occurs when I stopped the server and do grails clean . When I restart and access the above method I get the