Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-4366

Exception while trying to debug spring boot app with STS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.7.3.RELEASE
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Version: 3.7.3.RELEASE
      Build Id: 201602251025
      Platform: Eclipse Neon (4.6)
      Windows 10
      Java 8

      Description

      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)

        Attachments

          Activity

            People

            Assignee:
            kdvolder Kris De Volder
            Reporter:
            ranajyotic Ranajyoti Chakraborti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: