From 00779eb2c831f593bf68ac231bfa9611626d15ac Mon Sep 17 00:00:00 2001 From: shreya5653 <144722995+shreya5653@users.noreply.github.com> Date: Wed, 30 Oct 2024 12:45:28 +0530 Subject: [PATCH] Updated LibrarymanApiApplication.java --- .../java/com/libraryman_api/LibrarymanApiApplication.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/libraryman_api/LibrarymanApiApplication.java b/src/main/java/com/libraryman_api/LibrarymanApiApplication.java index 89e3ed7..a2c9156 100644 --- a/src/main/java/com/libraryman_api/LibrarymanApiApplication.java +++ b/src/main/java/com/libraryman_api/LibrarymanApiApplication.java @@ -7,13 +7,13 @@ import org.springframework.scheduling.annotation.EnableScheduling; @SpringBootApplication -@EnableAsync +@EnableAsync(proxyTargetClass = true) @EnableScheduling -@EnableCaching +@EnableCaching(proxyTargetClass = true) public class LibrarymanApiApplication { public static void main(String[] args) { SpringApplication.run(LibrarymanApiApplication.class, args); } -} \ No newline at end of file +}