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
I have c converter which works: public class StringToLongConverter implements Converter<String, Long> { @Override public Long convert(String sour
while running my jar I receive the below error No main manifest attribute, in jar I have followed some of the solutions provided here but it did not solv
For whatever reason, the font color of my debug console is a blue which makes it really difficult to read. I'm not sure if this is due to vs code settings or ma
Spring Boot Cloud Disovery Question, Problem with Eureka hostname after docker upgrade on windows 10. (Note: docker is not hosting spring services, just maria