Closed wuqiangchuan closed 4 years ago
如标题,采用热部署将会造成无法转换的的问题 java.lang.ClassCastException: com.xxd.entity.User cannot be cast to com.xxd.entity.User at com.xxd.shiroSecurity.UserRealm.doGetAuthorizationInfo(UserRealm.java:40) ~[classes/:na]
能否有别的方式提供热部署,或者修复这个冲突的问题呢?
pom.xml如下:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency>
........
如标题,采用热部署将会造成无法转换的的问题 java.lang.ClassCastException: com.xxd.entity.User cannot be cast to com.xxd.entity.User at com.xxd.shiroSecurity.UserRealm.doGetAuthorizationInfo(UserRealm.java:40) ~[classes/:na]
能否有别的方式提供热部署,或者修复这个冲突的问题呢?
pom.xml如下:
........