diff --git a/API-Gateway/pom.xml b/API-Gateway/pom.xml
index 3bd9a5d..88bc159 100644
--- a/API-Gateway/pom.xml
+++ b/API-Gateway/pom.xml
@@ -5,7 +5,7 @@
org.springframework.boot
spring-boot-starter-parent
- 2.7.14
+ 3.4.0
org.training
@@ -15,7 +15,7 @@
API Gateway
17
- 2021.0.8
+ 2024.0.0
samfert-codeium
diff --git a/API-Gateway/src/main/java/org/training/api/gateway/ApiGatewayApplication.java b/API-Gateway/src/main/java/org/training/api/gateway/ApiGatewayApplication.java
index 5d16c71..5c7a3ef 100644
--- a/API-Gateway/src/main/java/org/training/api/gateway/ApiGatewayApplication.java
+++ b/API-Gateway/src/main/java/org/training/api/gateway/ApiGatewayApplication.java
@@ -2,10 +2,8 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
@SpringBootApplication
-@EnableEurekaClient
public class ApiGatewayApplication {
public static void main(String[] args) {
diff --git a/Account-Service/pom.xml b/Account-Service/pom.xml
index 759bf48..9f54830 100644
--- a/Account-Service/pom.xml
+++ b/Account-Service/pom.xml
@@ -5,7 +5,7 @@
org.springframework.boot
spring-boot-starter-parent
- 2.7.15
+ 3.4.0
org.training
@@ -15,7 +15,7 @@
Account Service
17
- 2021.0.8
+ 2024.0.0
samfert-codeium
diff --git a/Account-Service/src/main/java/org/training/account/service/exception/GlobalExceptionHandler.java b/Account-Service/src/main/java/org/training/account/service/exception/GlobalExceptionHandler.java
index ac70343..b097834 100644
--- a/Account-Service/src/main/java/org/training/account/service/exception/GlobalExceptionHandler.java
+++ b/Account-Service/src/main/java/org/training/account/service/exception/GlobalExceptionHandler.java
@@ -3,6 +3,7 @@
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
+import org.springframework.http.HttpStatusCode;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.MethodArgumentNotValidException;
import org.springframework.web.bind.annotation.ExceptionHandler;
@@ -27,13 +28,13 @@ public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
*
* @param ex The MethodArgumentNotValidException that occurred.
* @param headers The HttpHeaders of the response.
- * @param status The HttpStatus of the response.
+ * @param status The HttpStatusCode of the response.
* @param request The WebRequest of the response.
* @return A ResponseEntity with an ErrorResponse and HttpStatus.BAD_REQUEST.
*/
@Override
- public ResponseEntity