I'm trying to deploy a Spring Boot app through Eclipse to a WebLogic server running localhost. It gives the following error: org.springframework.context.Applica
Please suggest any solution for the below exception which is occuring while running my rest api while executing springboot application with mongodb cloud db. I
Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is acce
Trying to upgrade Springboot from 1.x/java8 to 2.3.x/java 11(AWS Corretto 11) MySQL: Aurora Connectionpool: tomcat datasource Issue: with the upgraded versio
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
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
I have two modules as client and server. I am currently sending echo messages from client to server using netty server routes from(netty:tcp://0.0.0.0:21005). N
I'm caught in a situation where I need to manually add a header(Authorization) to the request. The catch is that I only need to add that header to requests comi
Using Spring Boot 2.6.4. Here is my SecurityConfig class: @Configuration public class SecurityConfig extends WebSecurityConfigurerAdapter { @Autowired Secur
I am upgrading spring boot version to 2.5.12 from 2.3.10.RELEASE because of the vulnerability issues. But I am getting below error while starting the applicatio
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
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
I am using spring-boot-starter-oauth2-client, spring-cloud-azure-starter-active-directory (spring-cloud-azure-dependencies 4.0.0) to add oauth2 authentication a