org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instance' defined in OSGi resource[classpath:/META-INF/spring/include/beans.xml|bnd.id=342|bnd.sym=com.hazelcast.api.hazelcast-endpoint]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static com.hazelcast.core.HazelcastInstance com.hazelcast.core.Hazelcast.newHazelcastInstance(com.hazelcast.config.Config)] threw exception; nested exception is java.lang.NoClassDefFoundError: javax/security/auth/callback/UnsupportedCallbackException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by thomasmodeneis
, 1 year ago
Error creating bean with name 'instance' defined in OSGi resource[classpath:/META-INF/spring/include/beans.xml|bnd.id=342|bnd.sym=com.hazelcast.api.hazelcast-endpoint]: Instantiation of bean failed; nested exception is
via Stack Overflow by nikopol86
, 2 years ago
Error creating bean with name 'defaultServletHandlerMapping' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Instantiation of bean failed; nested exception is
via Stack Overflow by WILLIAM WOODMAN
, 2 years ago
Error creating bean with name 'loadTimeWeaver' defined in class path resource [org/springframework/context/annotation/LoadTimeWeavingConfiguration.class]: Instantiation of bean failed; nested exception is
via Spring JIRA by Jim Moore, 1 year ago
Error creating bean with name 'contactRepository' defined in Bean creation method contactRepository in class app.JdbcConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException
via Spring JIRA by Jim Moore, 1 year ago
Error creating bean with name 'contactRepository' defined in Bean creation method contactRepository in class app.JdbcConfiguration: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException
via Stack Overflow by zhuguowei
, 2 years ago
Error creating bean with name 'dozerBeanMapper' defined in class path resource [com/foo/common/CommonConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'instance' defined in OSGi resource[classpath:/META-INF/spring/include/beans.xml|bnd.id=342|bnd.sym=com.hazelcast.api.hazelcast-endpoint]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static com.hazelcast.core.HazelcastInstance com.hazelcast.core.Hazelcast.newHazelcastInstance(com.hazelcast.config.Config)] threw exception; nested exception is java.lang.NoClassDefFoundError: javax/security/auth/callback/UnsupportedCallbackException

Users with the same issue

2 times, 3 months ago
6 times, 6 months ago
2 times, 11 months ago
2 times, 1 year ago
10 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.