[JAVA-32058] Upgrade spring-rest-http-2, spring-rest-http-3 to Boot 3 (#16225)

This commit is contained in:
vunamtien 2024-03-29 20:25:16 +07:00 committed by GitHub
parent a822f2ed0c
commit 8711ec8f29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 16 additions and 11 deletions

View File

@ -10,9 +10,9 @@
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-2</relativePath>
<relativePath>../../parent-boot-3</relativePath>
</parent>
<dependencies>
@ -53,6 +53,7 @@
<swagger2.version>2.9.2</swagger2.version>
<resilience4j.version>2.1.0</resilience4j.version>
<springdoc.version>1.7.0</springdoc.version>
<start-class>com.baeldung.Main</start-class>
</properties>
</project>

View File

@ -1,8 +1,8 @@
package com.baeldung.putvspost;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
@Entity
public class Address {

View File

@ -1,7 +1,7 @@
package com.baeldung.requesttimeout.domain;
import javax.persistence.Entity;
import javax.persistence.Id;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
@Entity
public class Book {

View File

@ -1,6 +1,6 @@
package com.baeldung.unsupportedmediatype;
import javax.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
@XmlRootElement

View File

@ -5,7 +5,7 @@ import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.boot.test.web.server.LocalServerPort;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.web.reactive.function.client.WebClient;
import org.springframework.web.reactive.function.client.WebClientResponseException;

View File

@ -10,9 +10,9 @@
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-2</relativePath>
<relativePath>../../parent-boot-3</relativePath>
</parent>
<dependencies>
@ -26,4 +26,8 @@
</dependency>
</dependencies>
<properties>
<start-class>com.baeldung.Main</start-class>
</properties>
</project>