{"exception_class":"java.lang.IllegalStateException","exception_message":"The following classes could not be excluded because they are not auto-configuration classes:\n\t- org.springframework.cloud.sleuth.autoconfig.brave.BraveAutoConfiguration\n","stacktrace":"java.lang.IllegalStateException: The following classes could not be excluded because they are not auto-configuration classes:\n\t- org.springframework.cloud.sleuth.autoconfig.brave.BraveAutoConfiguration\n\n\tat org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.handleInvalidExcludes(AutoConfigurationImportSelector.java:227)\n\tat org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.checkExcludedClasses(AutoConfigurationImportSelector.java:213)\n\tat org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.getAutoConfigurationEntry(AutoConfigurationImportSelector.java:144)\n\tat org.springframework.boot.autoconfigure.AutoConfigurationImportSelector$AutoConfigurationGroup.process(AutoConfigurationImportSelector.java:468)\n\tat org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGrouping.getImports(ConfigurationClassParser.java:917)\n\tat org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.processGroupImports(ConfigurationClassParser.java:847)\n\tat org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorHandler.process(ConfigurationClassParser.java:817)\n\tat org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:198)\n\tat org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:418)\n\tat org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)\n\tat org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)\n\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:318)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)\n\tat com.lover.def.Application.main(Application.java:21)\n"},"@version":1,"source_host":"early-merchant-experience-5477d74cc7-tjsdk","message":"Application run failed","thread_name":"main","@timestamp":"2025-08-22T09:15:01.803+0000","level":"ERROR","logger_name":"org.springframework.boot.SpringApplication"}< /code> < /p>
Можно что -то, пожалуйста, помогите, как избежать этой ошибки. < /p>
Я попытался удалить «исключить» из аннотации SpringbootApplication, но без успеха.
также попытался добавить ниже зависимости
io.micrometer micrometer-tracing-bridge-otel
Я новичок в разработке Java, становясь ниже ошибки, пытаясь обновить org.springframework.boot: пружина с 2,6,6 до 3.4.8 < /p> [code]{"exception_class":"java.lang.IllegalStateException","exception_message":"The following classes could not be excluded because they are not auto-configuration classes:\n\t- org.springframework.cloud.sleuth.autoconfig.brave.BraveAutoConfiguration\n","stacktrace":"java.lang.IllegalStateException: The following classes could not be excluded because they are not auto-configuration classes:\n\t- org.springframework.cloud.sleuth.autoconfig.brave.BraveAutoConfiguration\n\n\tat org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.handleInvalidExcludes(AutoConfigurationImportSelector.java:227)\n\tat org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.checkExcludedClasses(AutoConfigurationImportSelector.java:213)\n\tat org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.getAutoConfigurationEntry(AutoConfigurationImportSelector.java:144)\n\tat org.springframework.boot.autoconfigure.AutoConfigurationImportSelector$AutoConfigurationGroup.process(AutoConfigurationImportSelector.java:468)\n\tat org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGrouping.getImports(ConfigurationClassParser.java:917)\n\tat org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.processGroupImports(ConfigurationClassParser.java:847)\n\tat org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorHandler.process(ConfigurationClassParser.java:817)\n\tat org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:198)\n\tat org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:418)\n\tat org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)\n\tat org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)\n\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:318)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)\n\tat com.lover.def.Application.main(Application.java:21)\n"},"@version":1,"source_host":"early-merchant-experience-5477d74cc7-tjsdk","message":"Application run failed","thread_name":"main","@timestamp":"2025-08-22T09:15:01.803+0000","level":"ERROR","logger_name":"org.springframework.boot.SpringApplication"}< /code> < /p> Можно что -то, пожалуйста, помогите, как избежать этой ошибки. < /p> Я попытался удалить «исключить» из аннотации SpringbootApplication, но без успеха. также попытался добавить ниже зависимости
io.micrometer micrometer-tracing-bridge-otel [/code] но нет успеха
Я новичок в разработке Java, опускающем ниже ошибку, пытаясь обновить org.springframework.boot: пружина с 2,6,6 до 3.4.8
java.lang.IllegalStateException: The following classes could not be excluded because they are not auto-configuration classes:...
Я новичок в разработке Java, опускающем ниже ошибку, пытаясь обновить org.springframework.boot: пружина с 2,6,6 до 3.4.8
java.lang.IllegalStateException: The following classes could not be excluded because they are not auto-configuration classes:
-...
Я обновляю свое приложение Springboot с Springboot 2.9.7 до Springboot 3.0.2.
При выполнении чистой сборки возникает ошибка ниже, связанная с вызовами Rest API (с использованием шаблона Rest).
Вызвано: java.lang.NoSuchMethodError:...
Я обновляю свое приложение Springboot с Springboot 2.9.7 до Springboot 3.0.2.
При выполнении чистой сборки возникает ошибка ниже, связанная с вызовами Rest API (с использованием шаблона Rest).
Вызвано: java.lang.NoSuchMethodError:...
Пытаясь развернуть приложение Spring Boot 3.2 в многоуровневом докере, я в основном следовал этому сообщению в блоге, и, в частности, моя точка входа в докер была:
ENTRYPOINT
Однако докер не запускается и не отображает привычное изображение...