Hazelcast 3.2 lazy-init="true" issue

472 views
Skip to first unread message

Tolk

unread,
Mar 26, 2014, 5:38:08 AM3/26/14
to haze...@googlegroups.com
I have just upgraded a project from 3.1 to 3.2. Our HazelcastInstance is defined in spring with lazy-init="true". With 3.1 I get no issues whatsoever, with 3.2 at run time I get a complaint about autowiring:

"Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.hazelcast.core.HazelcastInstance gamesys.casino.game.system.roulette.infrastructure.persistence.hazelcast.AbstractHazelcastLockStore.casinoHazelcastInstance; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [com.hazelcast.core.HazelcastInstance] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.inject.Inject()}"

Any ideas as to why this is occurring and why it is version specific? Thanks.

joseph....@gmail.com

unread,
Mar 31, 2014, 11:38:18 AM3/31/14
to haze...@googlegroups.com
I second that !! Autowiriing seems broken in this version

Peter Veentjer

unread,
Apr 2, 2014, 1:47:26 AM4/2/14
to haze...@googlegroups.com
He Guys,

can one of you create a github issue for it so we can resolve it in the 3.2.1 release.

Peter.


--
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+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/1db815d4-8e34-4656-a888-100d88d8d034%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

M. Sancar Koyunlu

unread,
Apr 8, 2014, 4:01:07 PM4/8/14
to haze...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages