Я новичок в разработке Java, опускающем ниже ошибку, пытаясь обновить org.springframework.boot: пружина с 2,6,6 до 3.4.8 < /p>
java.lang.IllegalStateException: The following classes could not be excluded because they are not auto-configuration classes:
- org.springframework.cloud.sleuth.autoconfig.brave.BraveAutoConfiguration
at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.handleInvalidExcludes(AutoConfigurationImportSelector.java:227)
at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.checkExcludedClasses(AutoConfigurationImportSelector.java:213)
at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector.getAutoConfigurationEntry(AutoConfigurationImportSelector.java:144)
at org.springframework.boot.autoconfigure.AutoConfigurationImportSelector$AutoConfigurationGroup.process(AutoConfigurationImportSelector.java:468)
at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGrouping.getImports(ConfigurationClassParser.java:917)
at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorGroupingHandler.processGroupImports(ConfigurationClassParser.java:847)
at org.springframework.context.annotation.ConfigurationClassParser$DeferredImportSelectorHandler.process(ConfigurationClassParser.java:817)
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:198)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:418)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:290)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:791)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:609)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:318)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350)
at com.lover.def.Application.main(Application.java:21)
< /code>
Можно что-то, пожалуйста, помогите, как избежать этой ошибки. < /p>
Я попытался удалить «исключить» из аннотации SpringbootApplication, но без успеха.
также пытался добавить ниже зависимости < /p>
Но нет успеха < /p>
, пожалуйста, н а й д и т е и с п о л ь з у е м ы й p o m < / p > < b r / > < c o d e > & l t ; p a r e n t & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . s p r i n g f r a m e w o r k . b o o t & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; s p r i n g - b o o t - s t a r t e r - p a r e n t & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n>3.4.8
true
UTF-8
UTF-8
17
gcr.io/distroless/java17-debian11:latest
0.95.1
/opt/lover/datadog
${project.build.directory}/jib-agents
1.5.3.Final
1.18.22
3.1.4
4.2.2
5.0.0
1.11.3
6.0.0
2.17.1
3.22.0
2.30.1
1.3.6
1.1.3
3.4.0
0.8.7
jacoco-merged.exec
5.0.0.4389
3.1.2
2021.0.5
1.17.1
1.6.6
1.6.0
1.0.2
2.27.2
1.1.0
0.9.0
4.0.9
1.1.1
3.5.1
1.20.6
org.springframework.cloud
spring-cloud-dependencies
${spring-cloud-release.version}
pom
import
org.testcontainers
testcontainers-bom
${test-containers.version}
pom
import
org.quartz-scheduler
quartz
com.fasterxml.jackson.core
jackson-databind
2.13.5
org.springframework.boot
spring-boot-starter-integration
2.6.0
org.springframework.boot
spring-boot-starter-batch
org.springframework.boot
spring-boot-starter-data-jpa
mysql
mysql-connector-java
8.0.28
com.querydsl
querydsl-jpa
${com.querydsl.version}
jakarta
com.querydsl
querydsl-apt
${com.querydsl.version}
jakarta
com.querydsl
querydsl-core
${com.querydsl.version}
org.springframework.boot
spring-boot-starter-cache
org.springframework.boot
spring-boot-starter-logging
io.beanmother
beanmother-core
${beanmother.version}
io.beanmother
beanmother-java8-converter
${beanmother.version}
org.springframework.boot
spring-boot-starter-data-redis
io.micrometer
micrometer-registry-datadog
io.micrometer
micrometer-tracing-bridge-otel
com.datadoghq
dd-trace-api
${datadog.version}
org.springframework.boot
spring-boot-configuration-processor
true
org.springframework.boot
spring-boot-starter-test
test
junit
junit
com.vaadin.external.google
android-json
org.springframework.cloud
spring-cloud-starter-contract-stub-runner
test
org.springframework.boot
spring-boot-starter-logging
org.junit.jupiter
junit-jupiter
test
org.testcontainers
testcontainers
test
org.testcontainers
junit-jupiter
test
org.testcontainers
mysql
test
org.assertj
assertj-core
${org.assertj.version}
test
com.github.tomakehurst
wiremock-jre8
${com.github.tomakehurst.version}
test
org.slf4j
slf4j-simple
com.github.tomakehurst
wiremock-jre8-standalone
2.32.0
test
com.github.sparkmuse
wiremock-junit-jupiter
${com.github.sparkmuse.version}
test
org.slf4j
slf4j-simple
org.awaitility
awaitility
test
io.netty
netty-resolver-dns-native-macos
4.1.72.Final
osx-aarch_64
test
org.projectlombok
lombok
${lombok.version}
provided
org.springframework.cloud
spring-cloud-starter-openfeign
org.springframework.security
spring-security-test
test
com.lover.api.serverfeature
spring-server-feature-api-client
1.0.1
com.lover
lover-spring-boot-starter-openapi
com.lover
lover-spring-boot-starter
com.google.api
gax
com.lover
lover-spring-boot-starter-openapi
${lover-spring-boot-starter-openapi.version}
org.mapstruct
mapstruct
${mapstruct.version}
compile
org.mapstruct
mapstruct-processor
${mapstruct.version}
compile
com.lover.api.authfactor
spring-authfactor-api-client
2.1.2
io.springfox
springfox-boot-starter
com.lover.api.gbsbackend
spring-gbs-backend-api-client
2.0.0-SNAPSHOT
org.testcontainers
gcloud
test
${project.artifactId}-${git.commit.id.describe-short}
org.apache.maven.plugins
maven-checkstyle-plugin
${org.apache.maven.plugins.version}
com.puppycrawl.tools
checkstyle
10.3.1
codestyle/Java-Checkstyle.xml
UTF-8
true
true
false
true
validate
validate
check
com.mysema.maven
apt-maven-plugin
${com.mysema.maven.version}
process
target/generated-sources/java
com.querydsl.apt.jpa.JPAAnnotationProcessor
org.apache.maven.plugins
maven-dependency-plugin
unpack
package
unpack
${project.groupId}
${project.artifactId}
${project.version}
copy
compile
copy
com.datadoghq
dd-java-agent
${datadog.version}
jar
${agent-extraction-root}/${datadog-agent-location}
dd-java-agent.jar
com.google.cloud.tools
jib-maven-plugin
${com.google.cloud.tools.version}
${agent-extraction-root}
${base.image}
gcr.io/lover-container-registries/${project.artifactId}
${git.commit.id.describe-short}
${git.remote.origin.url}
${git.commit.id}
${git.build.time}
"lover Network"
9940:9940
8080
8081
-javaagent:${datadog-agent-location}/dd-java-agent.jar
org.jacoco
jacoco-maven-plugin
${org.jacoco.version}
before-unit-test-execution
prepare-agent
before-integration-test-execution
prepare-agent-integration
merge
merge
verify
${project.build.directory}
*.exec
${project.build.directory}/${jacoco.merged}
merged-report
report
${project.build.directory}/${jacoco.merged}
org.sonarsource.scanner.maven
sonar-maven-plugin
${org.sonarsource.scanner.maven.version}
pl.project13.maven
git-commit-id-plugin
true
false
revision
org.apache.maven.plugins
maven-compiler-plugin
3.6.0
17
17
org.mapstruct
mapstruct-processor
${mapstruct.version}
org.projectlombok
lombok
${lombok.version}
org.projectlombok
lombok-mapstruct-binding
0.1.0
org.springframework.boot
spring-boot-maven-plugin
central
lover Release Repository
https://artifactory.corp.lover.com/arti ... ease-local
snapshots
lover Snapshot Repository
https://artifactory.corp.lover.com/arti ... shot-local
false
central
libs-release
https://artifactory.corp.lover.com/arti ... bs-release
true
snapshots
libs-snapshot
https://artifactory.corp.lover.com/arti ... s-snapshot
false
central
plugins-release
https://artifactory.corp.lover.com/arti ... ns-release
snapshots
plugins-release
https://artifactory.corp.lover.com/arti ... s-snapshot
Подробнее здесь: https://stackoverflow.com/questions/797 ... -8-getting
При обновлении org.springframework.boot: Spring-Boot с 2,6,6 до 3.4.8, получение "java.lang.illegalstateexception" ⇐ JAVA
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение