com.fasterxml.jackson.databind.JsonMappingException: failed to lazily initialize a collection of XX:
懒加载的问题。处理办法在XX的地方(比如我这次报错的地方是role)加入"(fetch=FetchType.EAGER)"的注解。如下面的(@ManyToMany(fetch=FetchType.EAGER)):@ManyToMany(fetch=FetchType.EAGER)@JoinTable(name="role_permission",joinColumns={@JoinColumn(n