I am working on a project in intellij using java and spring. I want to change in multiple files my api's in a similar way like this: instead of: public void som
package ro.contabilitateexpert.AccountExpert.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotati
Spring for Apache Kafka 2.8.4 under https://docs.spring.io/spring-kafka/reference/html shows some of the listener methods with @Payload annotation next to the m
In my Spring Boot application, I have several roles that are differentiated due to a token. Each one has a different token in the configuration file (.propertie
We have recently migrated jackson-databind from 3.11.4 to 3.12.13.2 version and springframework from 5.2.19.RELEASE to 5.2.22.RELEASE. after the migration we s
I am working on a simple project with 2 defined roles Admin and User,The admin role has authority to view users by thier usernames but when I login as an admin
I am developing a project through the spring framework. I am using JUnit to run unit tests, swing for the GUI. When I run the system, the GUI opens and I can ac
Using Spring Boot 2.6.4. Here is my SecurityConfig class: @Configuration public class SecurityConfig extends WebSecurityConfigurerAdapter { @Autowired Secur
I was using spring 2.1.3.RELEASE before. Used to handle all un-supported HTTP methods and endpoints with an custom error like below and it worked; /** * Handle
Running Spring Boot 2.6.6 and Spring Cloud 2021.0.1 I'm attempting to migrate an existing service to Kubernetes so I added a dependency on spring-cloud-starter-
I am using spring-cloud-starter-aws-secrets-manager-config 2.3.3 for a spring boot application which works perfectly in my local pointing to stage environment
I have a issue with creation of custom annotation in springboot application: I've got a form with few fields with datepicker. Dates must have to be parsed in 2
I am trying to implement a DAO based authentication in an application using Spring Security. When I tried to log in to the application with a user I got this er
Parameter 0 of constructor in ResourceServerConfiguration required a bean of type 'StratusAuthenticationEntryPoint' that could not be found. I am using spring b
I'm writing a simple REST API using Spring Boot and I want to enable basic authentication. Therefore I have used the WebSecurityConfigurerAdapter as shown below
When i try to run my spring boot application i get this Exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conf
I am trying to see if there is a way to improve the way data is inserted and updated. I am using ORACLE DB with JDBC. The current way i'm doing is to update (e.
I'm trying to get the spring cloud config server connected to a bitbucket repo using ssh. I've found lots of posts about the key needing to be rsa format. I'v
Am able to send the message successfully using the below from my FirstHandler messageChannel.send(MessageBuilder.withPayload(pa).build()); But, the flow is wait
Hello fellow engineers! I have run into a problem when trying to create a FAT jar to execute the Cucumber tests. Initially, I have followed the guide to set up