I already googled this problem for almost a day and tried several fixes (including 4 or 5 from StackOverflow) but none of them worked. I have this POJO with ann
I have a method which has an aspect. When I try to @Autowire HttpServletRequest, and use request.getHeader(something), I get this error - No thread-bound reque
I have a spring boot application which contains a scheduler that picks up file from my local.I want the scheduler to be rescheduled to an hour after if my local
I am using spring mvc version 5. I am struggling in an autowire problem. I am following a spring security JDBC tutorial. Here is the AppConfiguration.class:
I am using spring mvc version 5. I am struggling in an autowire problem. I am following a spring security JDBC tutorial. Here is the AppConfiguration.class:
I am new to String, SpringBoot. Can we suppress thrown exception in a method annotated with @AfterThrowing? I mean when an exception is thrown, it will suppres
I have a problem with Spring Security 5 Basic authentication. I've configured Spring like this: @Configuration public class SecurityConfig extends WebS
I am new to caching thing and learning some different solutions for my spring boot app. I was looking at Spring Cache and it is simple caching mechanism (that w
I want a Javascript function to send data to a Spring controller and get a response. However, due to the strict-origin-when-cross-origin Referrer policy, the re
I have two different beans for the same class with different configurations depending on the given profile. @Bean @Profile("!local") public VaultPropertySource
In my application i am processing messages from queue using camel and process it in multiple threads. I tried to persist the data to a table during the process
I'm using Spring Specifications to filter and sort through a class using multiple joins. For example, I have the class ContextData public class ContextData impl
plz I don't know wath is the exact problem in the code if I add Scheduled annotatiçon in my code suddenly this error appears if you have any soulustion p
I have a Spring MVC controller and bootstrap page. When I submit the form and send some payload to this endpoint if some condition is not met I would like to di
Is it possible to use Caffeine's CacheLoader::loadAll with @Cacheable annotated method with collection parameter, like @Cacheable(cacheNames = "exampleCache", c
I'm using Spring Boot 2.6.7 and org.springdoc:springdoc-openapi-ui:1.6.7 to run swagger ui with OpenApi 3 definition along with my backend. My Setup @GetMapping
So, I am trying to make and upload file(s) functionality, from some blog posts and stackoverflow questions I got this solution: @PostMapping("/file/upload") fun
So, I am trying to make and upload file(s) functionality, from some blog posts and stackoverflow questions I got this solution: @PostMapping("/file/upload") fun
I recently upgraded by sprint boot to 2.6.6 following a RCE vulnerability. However, now I application isn't starting with error: APPLICATION FAILED TO START Des
With Spring Boot, I use @DirtiesContext to ensure the database is cleared before each test case. There is no @DirtiesContext annotation with Quarkus AFAIK. Inst