Skip to main content

Questions tagged [spring-boot]

Use the Spring Boot tag for questions related to spring boot framework and the features it brings to your Web application. This includes questions about configuration, embedding of the Web servers, setting up metrics, health checks, externalized configuration etc. It does not include questions about the Web server itself, Java code running in your application, or standard spring components. Tag these questions with its own tags to get the best response!

spring-boot
0 votes
1 answer
10 views

how to make the spring boot force to use specify profile(disable others)

I am using intellij idea 2023.1.1 to do a unit test with spring boot using JDK21, after I added the profile annotion in the test class: @ActiveProfiles("test") the log still show there ...
Dolphin's user avatar
  • 35.4k
0 votes
0 answers
6 views

Disable secrets manager and s3 for integration testing when contextLoads is called

I have a SpringBoot application which I am trying to test. I'm struggling with this test @SpringBootTest @ActiveProfiles("test") public class LicenceApplicationTests { @Test @...
martin's user avatar
  • 1
0 votes
0 answers
4 views

Spring boot war failed to deploy in tomcat on linux environment while its work fine on windows

I have multiple spring boot based wars deployed in tomcat9. One specific application war file failed to deploy in Linux environment. The same war works in windows environment. Any one can help explain ...
Sajid Hussain's user avatar
0 votes
0 answers
6 views

Spring Boot Properties Files

In my Spring Boot application, I have two properties files. One is located in src/main/resources/application.properties and the other properties file is in src/test/resources/application.properties. ...
Some User's user avatar
-1 votes
0 answers
12 views

How to implement Keycloak in spring boot 3.2.7?

I'm writing an application based on microservice architecture on Spring Boot 3.2.7 and I need to implement keycloak in my application to separate the user and admin logic in other microservices. But I ...
Raul Alishov's user avatar
0 votes
0 answers
16 views

Custom annotation on a bean that implements an interface

Context: spring boot: 3.3.1 spring cloud: 2023.0.2 I am trying to make a custom annotation having something like this: @EnableAspectJAutoProxy @Configuration public class AspectJConfig { } @Target(...
dcg's user avatar
  • 1,221
-1 votes
0 answers
7 views

Delays in Call Execution During Half-Open State with Resilience4j Circuit Breaker in Spring Boot

I have implemented Circuit Breaker in my Spring Boot application using Resilience4j. The circuit breaker seems to be working fine overall, but I'm observing delays in call execution when it ...
Vikas Gupta's user avatar
  • 10.9k
-1 votes
0 answers
8 views

Liquibase Springboot integration for multiple database users

I want to create a springboot3.X app that uses apring data jpa but jpa(underlying Hibernate) not to create tables. I want to create tables using Liquibase. I want to have 2 database users: 1.owner 2....
Akash Sharma's user avatar
-1 votes
0 answers
8 views

Get all message properties key value pairs as JSON for selected locale in Spring boot

I need to implement internationalization for menu in my front application.I know that there is a two way where to save translations. First it is a database which in my opinion is weird second solution ...
Roman Chumak's user avatar
0 votes
0 answers
8 views

Unable to authenticate request to mongodb from springboot application

I have a problem with a request from my springboot application on mongo (docker), while trying to establish authentication on mongoDB (as soon as I turn it off, the application runs correctly). Docker ...
Tomas Nyiri's user avatar
0 votes
0 answers
5 views

How to migrate graphql ? (spring boot 2.6.6 to 3.3.0) using jhipster and mapstruct

During a Spring Boot migration from 2.6.6 to 3.3.0, I had to migrate MapStruct from 1.4.2.Final to 1.5.5.Final. Now, I have a problem with a GraphQL request. In pom.xml : <plugin> ...
Hytobi's user avatar
  • 1
0 votes
0 answers
7 views

oauth2 authorization server TokenStore replacement (Spring Boot 3.1.0)

In old version of auth server (5.7) I have custom JwtTokenStore for caching and pre-check exists tokens (and for revoke). In new authorization server project I can't found any same solution. As an ...
Alexandr's user avatar
  • 349
-1 votes
0 answers
16 views

Obtaining error with Spring Binder when YAML property not mappable to target object

I'm using spring Binder to load YAML content into a POD instance. My code works well but I would need that it returns an error or throws an exception if a property (from the YAML file) is not bindable ...
Philippe MESMEUR's user avatar
0 votes
0 answers
20 views

Issue migrating from MongoDB to PostgreSQL in Spring Boot

I am working on migrating entity from MongoDB to PostgreSQLand currently there is an issue when migrating field private RentingConfiguration renting; The Entity for MongoDB: @Document(collection = &...
Kenan Džafić's user avatar
-1 votes
1 answer
15 views

Can i use an enum type field on the request body spring boot

Is it possible to use an enum type field on the request body in spring boot e.g public enum Status{ A, B, C } @Getter @Setter @NoArgsConstructor public class Order{ private Status status; } If ...
slinger's user avatar
  • 195

15 30 50 per page
1
2 3 4 5
9961