Spring Application 启动异常 - The class hierarchy was loaded from the following locations
如遇到上述错误,有可能是以下原因:spring-boot-starter-data-redis 我擅自增加了版本号,与SpringBoot版本不一致,导致报错。因此引用Spring-boot-parent 让其自动管理各个版本号即可,避免由于版本不一致造成的冲突。由此得到的启发,虽然问题不一样,但解决方案是一样的,感谢作者!记spring boot配置redis 项目启动时的一个奇怪的错误_Mor
·
如遇到上述错误,有可能是以下原因:
spring-boot-starter-data-redis 我擅自增加了版本号,与SpringBoot版本不一致,导致报错。
因此引用Spring-boot-parent 让其自动管理各个版本号即可,避免由于版本不一致造成的冲突。
由此得到的启发,虽然问题不一样,但解决方案是一样的,感谢作者!
更多推荐
所有评论(0)