APPLICATION FAILED TO START upgrade from 3.11.4 to 5.1.1

16 views
Skip to first unread message

Sanket Dhok

unread,
Nov 2, 2022, 12:56:05 PM11/2/22
to Hazelcast
Hi;

Getting an error when upgrading hazelcast from  3.11.4 to 5.1.1. Can someone help please

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    org.springframework.boot.actuate.metrics.cache.HazelcastCacheMeterBinderProvider.getMeterBinder(HazelcastCacheMeterBinderProvider.java:34)

The following method did not exist:

    'com.hazelcast.core.IMap com.hazelcast.spring.cache.HazelcastCache.getNativeCache()'

The method's class, com.hazelcast.spring.cache.HazelcastCache, is available from the following locations:

    jar:file:/data/xxx_api.war!/WEB-INF/lib/hazelcast-spring-5.1.1.jar!/com/hazelcast/spring/cache/HazelcastCache.class

It was loaded from the following location:

    jar:file:/data/xxx_api.war!/WEB-INF/lib/hazelcast-spring-5.1.1.jar!/


Action:

Correct the classpath of your application so that it contains a single, compatible version of com.hazelcast.spring.cache.HazelcastCache
Reply all
Reply to author
Forward
0 new messages