Class Cast Exception

27 views
Skip to first unread message

rbalab...@gmail.com

unread,
Feb 24, 2017, 11:47:17 AM2/24/17
to Hazelcast

Hi,

ErrorDescription=Error occurred due to:Failed to obtain connection for cache :com.hazelcast.core.HazelcastException: java.lang.ClassCastException: Cannot cast com.hazelcast.client.impl.DefaultClientExtension to com.hazelcast.client.ClientExtension

I am getting this exception when i am trying to connect to hazelcast through JUnit test case???

Do you have any idea???

Peter Veentjer

unread,
Feb 24, 2017, 3:30:06 PM2/24/17
to haze...@googlegroups.com
smells like some kind of classloading issue. 

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/c24a4eb2-b79d-4a96-9661-3e3deb11f206%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

David Brimley

unread,
Feb 25, 2017, 4:28:18 AM2/25/17
to Hazelcast
You'll have to provide reproducible code to demonstrate the error.

At a minimum we need to see your full classpath and the junit code you are running.
Reply all
Reply to author
Forward
0 new messages