通过java -jar 启动springboot 时报错
ConfigServletWebServerApplicationContext :
Exception encountered during context initialization
- cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'org.springframework.boot.autoconfigure.hazelcast.HazelcastClientConfiguration': Lookup method resolution failed; nested exception is
java.lang.IllegalStateException: Failed to introspect Class
[org.springframework.boot.autoconfigure.hazelcast.HazelcastClientConfiguration] from ClassLoader [org.springframework.boot.loader.LaunchedURLClassLoader@3d646c37]
通过google 发现可能是 springboot 包版本兼容问题,通过降低springboot 版本从2.6.4 snapshot 到2.2.1 release 从而解决该问题。

3123

被折叠的 条评论
为什么被折叠?



