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 +}