Conversation
…avax to jakarta imports Co-authored-by: Haarolean <1494347+Haarolean@users.noreply.github.com>
|
@copilot doesn't compile: /home/runner/work/kafka-ui/kafka-ui/api/src/main/java/io/kafbat/ui/config/auth/OAuthSecurityConfig.java:17: error: package org.springframework.boot.autoconfigure.security.oauth2.resource does not exist |
Co-authored-by: Haarolean <1494347+Haarolean@users.noreply.github.com>
Fixed in 061ebca. In Spring Boot 4.x, OAuth2 autoconfigure classes moved to separate modules:
Added the new dependencies Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot Execution failed for task ':api:compileJava'.
/home/runner/work/kafka-ui/kafka-ui/api/src/main/java/io/kafbat/ui/mapper/DynamicConfigMapper.java:23: warning: Unmapped target properties: "fts, adminClient". Mapping from property "ApplicationConfigPropertiesKafkaDTO kafka" to "ClustersProperties kafka". For more on this, please refer to https://docs.gradle.org/9.2.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. |
…ap modules Co-authored-by: Haarolean <1494347+Haarolean@users.noreply.github.com>
Fixed in 70b1e97. Spring Boot 4.x restructured many autoconfigure classes into separate modules:
Added new dependencies: |
Yes. Spring Boot 4.0 requires Java 17+ and uses Jakarta EE instead of javax packages. No migration needed for application users—only internal code changes.
What changes did you make? (Give an overview)
Upgrade to Spring Boot 4.0.0 with required dependency and import migrations:
HttpHeadersAPI changes—containsKey()/entrySet()removed)javax.annotation.Nullable→jakarta.annotation.Nullablejavax.validation.Valid→jakarta.validation.Validjavax.validation.ValidationException→jakarta.validation.ValidationExceptionOAuth2ResourceServerProperties→org.springframework.boot.security.oauth2.server.resource.autoconfigureOAuth2ClientProperties→org.springframework.boot.security.oauth2.client.autoconfigureOAuth2ClientPropertiesMapper→org.springframework.boot.security.oauth2.client.autoconfigureAbstractErrorWebExceptionHandler→org.springframework.boot.webflux.autoconfigure.errorErrorAttributes→org.springframework.boot.webflux.errorServerProperties→org.springframework.boot.web.server.autoconfigureWebFluxProperties→org.springframework.boot.webflux.autoconfigureLdapAutoConfiguration→org.springframework.boot.ldap.autoconfigurespring-boot-security-oauth2-resource-serverspring-boot-security-oauth2-clientspring-boot-webfluxspring-boot-web-serverspring-boot-ldapNote:
javax.net.*,javax.management.*,javax.security.*,javax.rmi.*preserved (Java SE, not Jakarta EE).Is there anything you'd like reviewers to focus on?
Jackson2JsonEncoder/Jackson2JsonDecoderin generated OpenAPI code are expected (deprecated in Spring Framework 7, removal planned for future version)How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Contract module compiles successfully with Spring Boot 4.0.0. Full build requires CI (Confluent repo access).
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)
🐱
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.