org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRmiRegistryService' defined in class path resource [mediaconversion-global-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to create Registry at port '2198'.

Ask Ubuntu | Gparmar | 10 months ago
  1. 1

    Build hybris code on ubuntu

    Ask Ubuntu | 10 months ago | Gparmar
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultRmiRegistryService' defined in class path resource [mediaconversion-global-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to create Registry at port '2198'.
  2. 0

    技術検証2日目 | 男はロマン

    otokoroman.com | 7 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/session/data/redis/config/annotation/web/http/RedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  3. 0

    BeanCreationException from Spring with annotation "@Context" and "@Loggable"

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resellerServiceServer': Invocation of init method failed; nested exception is org.apache.cxf.service.factory.ServiceConstructionException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when starting Spring after adding Validation, conflicting maven dependencies

    Stack Overflow | 1 year ago | Steve Green
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.validation.beanvalidation.OptionalValidatorFactoryBean#0': Invocation of init method failed; nested exception is java.lang.AbstractMethodError: org.hibernate.validator.internal.engine.ConfigurationImpl.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider;
  6. 0

    NoSuchMethodError: org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.<init>(Lcom/fasterxml/jackson/databind/ObjectMapper;)V

    Stack Overflow | 1 year ago | Thien An
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'restExceptionResolver' defined in class path resource [rest-test.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.springframework.http.converter.json.MappingJackson2HttpMessageConverter.<init>(Lcom/fasterxml/jackson/databind/ObjectMapper;)V

  1. rlovtangen 2 times, last 2 weeks ago
  2. tvrmsmith 6 times, last 2 weeks ago
  3. kjhdofjosvs 1 times, last 3 weeks ago
  4. Andreas Häber 2 times, last 4 weeks ago
  5. Luka 14 times, last 2 months ago
21 more registered users
74 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.beans.factory.BeanCreationException

    Error creating bean with name 'defaultRmiRegistryService' defined in class path resource [mediaconversion-global-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to create Registry at port '2198'.

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean()
  2. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
    8. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
    8 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
    2 frames
  4. de.hybris.platform
    AbstractCacheUnit.get
    1. de.hybris.platform.core.HybrisContextFactory.refreshContext(HybrisContextFactory.java:98)
    2. de.hybris.platform.core.HybrisContextFactory$GlobalContextFactory.build(HybrisContextFactory.java:176)
    3. de.hybris.platform.core.HybrisContextHolder.getGlobalInstanceCached(HybrisContextHolder.java:134)
    4. de.hybris.platform.core.HybrisContextHolder.getGlobalInstance(HybrisContextHolder.java:113)
    5. de.hybris.platform.core.Registry.getSingletonGlobalApplicationContext(Registry.java:1059)
    6. de.hybris.platform.cache.impl.RegionCacheAdapter.getController(RegionCacheAdapter.java:76)
    7. de.hybris.platform.cache.impl.RegionCacheAdapter.getOrAddUnit(RegionCacheAdapter.java:206)
    8. de.hybris.platform.cache.AbstractCacheUnit.get(AbstractCacheUnit.java:180)
    8 frames