java.lang.IllegalAccessError: tried to access method org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters(Lorg/springframework/core/convert/converter/ConverterRegistry;)V from class org.springframework.boot.bind.RelaxedConversionService

SpringSource Issue Tracker | Ranajyoti Chakraborti | 7 months ago
  1. 0

    If I try to debug a Spring Boot application as a Spring Boot Application in STS I am getting a exception as soon as the app starts. Below is the stack trace. Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters(Lorg/springframework/core/convert/converter/ConverterRegistry;)V from class org.springframework.boot.bind.RelaxedConversionService at org.springframework.boot.bind.RelaxedConversionService.<init>(RelaxedConversionService.java:52) at org.springframework.boot.bind.RelaxedDataBinder.modifyProperties(RelaxedDataBinder.java:148) at org.springframework.boot.bind.RelaxedDataBinder.doBind(RelaxedDataBinder.java:128) at org.springframework.validation.DataBinder.bind(DataBinder.java:631) at org.springframework.boot.bind.PropertiesConfigurationFactory.doBindPropertiesToTarget(PropertiesConfigurationFactory.java:269) at org.springframework.boot.bind.PropertiesConfigurationFactory.bindPropertiesToTarget(PropertiesConfigurationFactory.java:241) at org.springframework.boot.context.config.ConfigFileApplicationListener.bindToSpringApplication(ConfigFileApplicationListener.java:230) at org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:181) at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:166) at org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:152) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128) at org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54) at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at net.xalgo.conversation.Application.main(Application.java:19)

    SpringSource Issue Tracker | 7 months ago | Ranajyoti Chakraborti
    java.lang.IllegalAccessError: tried to access method org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters(Lorg/springframework/core/convert/converter/ConverterRegistry;)V from class org.springframework.boot.bind.RelaxedConversionService
  2. 0

    issue with spring boot while upgrading to 1.3.0.RELEASE

    codegur.online | 5 months ago
    java.lang.IllegalAccessError: tried to access method org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters(Lorg/springframework/core/convert/converter/ConverterRegistry;)V from class org.springframework.boot.bind.RelaxedConversionService
  3. 0

    issue with spring boot while upgrading to 1.3.0.RELEASE

    Stack Overflow | 1 year ago | Gaurav Rawat
    java.lang.IllegalAccessError: tried to access method org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters(Lorg/springframework/core/convert/converter/ConverterRegistry;)V from class org.springframework.boot.bind.RelaxedConversionService
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalAccessError in startup calling DefaultConversionService.addCollectionConverters()

    Stack Overflow | 11 months ago | Ian Worthington
    java.lang.IllegalAccessError: tried to access method org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters(Lorg/springframework/core/convert/converter/ConverterRegistry;)V from class org.springframework.boot.bind.RelaxedConversionService
  6. 0

    issue with spring boot while upgrading to 1.3.0.RELEASE

    codegur.net | 8 months ago
    java.lang.IllegalAccessError: tried to access method org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters(Lorg/springframework/core/convert/converter/ConverterRegistry;)V from class org.springframework.boot.bind.RelaxedConversionService

    15 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. java.lang.IllegalAccessError

      tried to access method org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters(Lorg/springframework/core/convert/converter/ConverterRegistry;)V from class org.springframework.boot.bind.RelaxedConversionService

      at org.springframework.boot.bind.RelaxedConversionService.<init>()
    2. Spring Boot
      RelaxedDataBinder.doBind
      1. org.springframework.boot.bind.RelaxedConversionService.<init>(RelaxedConversionService.java:52)
      2. org.springframework.boot.bind.RelaxedDataBinder.modifyProperties(RelaxedDataBinder.java:148)
      3. org.springframework.boot.bind.RelaxedDataBinder.doBind(RelaxedDataBinder.java:128)
      3 frames
    3. Spring Context
      DataBinder.bind
      1. org.springframework.validation.DataBinder.bind(DataBinder.java:631)
      1 frame
    4. Spring Boot
      ConfigFileApplicationListener.onApplicationEvent
      1. org.springframework.boot.bind.PropertiesConfigurationFactory.doBindPropertiesToTarget(PropertiesConfigurationFactory.java:269)
      2. org.springframework.boot.bind.PropertiesConfigurationFactory.bindPropertiesToTarget(PropertiesConfigurationFactory.java:241)
      3. org.springframework.boot.context.config.ConfigFileApplicationListener.bindToSpringApplication(ConfigFileApplicationListener.java:230)
      4. org.springframework.boot.context.config.ConfigFileApplicationListener.postProcessEnvironment(ConfigFileApplicationListener.java:181)
      5. org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEnvironmentPreparedEvent(ConfigFileApplicationListener.java:166)
      6. org.springframework.boot.context.config.ConfigFileApplicationListener.onApplicationEvent(ConfigFileApplicationListener.java:152)
      6 frames
    5. Spring Context
      SimpleApplicationEventMulticaster.multicastEvent
      1. org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:151)
      2. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:128)
      2 frames
    6. Spring Boot
      SpringApplication.run
      1. org.springframework.boot.context.event.EventPublishingRunListener.publishEvent(EventPublishingRunListener.java:111)
      2. org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:65)
      3. org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
      4. org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:330)
      5. org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
      5 frames
    7. net.xalgo.conversation
      Application.main
      1. net.xalgo.conversation.Application.main(Application.java:19)
      1 frame