diff --git a/examples/integrations/micronaut/data/pom.xml b/examples/integrations/micronaut/data/pom.xml
index 61c77211..16279cbe 100644
--- a/examples/integrations/micronaut/data/pom.xml
+++ b/examples/integrations/micronaut/data/pom.xml
@@ -46,6 +46,10 @@
io.micronaut.data
micronaut-data-jdbc
+
+ io.micronaut.validation
+ micronaut-validation
+
io.micronaut
micronaut-runtime
@@ -120,9 +124,14 @@
io.micronaut
- micronaut-validation
+ micronaut-core-processor
${version.lib.micronaut}
+
+ io.micronaut.validation
+ micronaut-validation-processor
+ ${version.lib.micronaut.validation}
+
io.micronaut.data
micronaut-data-processor
@@ -156,4 +165,4 @@
-
+
\ No newline at end of file
diff --git a/examples/integrations/micronaut/data/src/main/java/io/helidon/examples/integrations/micronaut/data/BeanValidationExceptionMapper.java b/examples/integrations/micronaut/data/src/main/java/io/helidon/examples/integrations/micronaut/data/BeanValidationExceptionMapper.java
index 4055b7a2..e06df2e8 100644
--- a/examples/integrations/micronaut/data/src/main/java/io/helidon/examples/integrations/micronaut/data/BeanValidationExceptionMapper.java
+++ b/examples/integrations/micronaut/data/src/main/java/io/helidon/examples/integrations/micronaut/data/BeanValidationExceptionMapper.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020, 2023 Oracle and/or its affiliates.
+ * Copyright (c) 2020, 2024 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,4 +35,4 @@ public Response toResponse(ConstraintViolationException exception) {
.entity(exception.getMessage())
.build();
}
-}
+}
\ No newline at end of file
diff --git a/examples/integrations/micronaut/data/src/main/java/io/helidon/examples/integrations/micronaut/data/PetResource.java b/examples/integrations/micronaut/data/src/main/java/io/helidon/examples/integrations/micronaut/data/PetResource.java
index bea578bf..cc6d7298 100644
--- a/examples/integrations/micronaut/data/src/main/java/io/helidon/examples/integrations/micronaut/data/PetResource.java
+++ b/examples/integrations/micronaut/data/src/main/java/io/helidon/examples/integrations/micronaut/data/PetResource.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2020, 2023 Oracle and/or its affiliates.
+ * Copyright (c) 2020, 2024 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -68,4 +68,4 @@ public Pet pet(@PathParam("name") @Pattern(regexp = "\\w+[\\w+\\s?]*\\w") String
return petRepository.findByName(name)
.orElseThrow(() -> new NotFoundException("Pet by name " + name + " does not exist"));
}
-}
+}
\ No newline at end of file