Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

I am building a skeleton MCP server using Spring AI with the STDIO transport: pom.xml <properties> <java.version>21</java.version> <spring-ai-starter.version&...
gusto2's user avatar
  • 12.2k
0 votes
1 answer
62 views

I’m facing an issue while uploading a file between two Spring Boot microservices using OpenFeign. task-service generates an Excel file It sends the file to system-service using Feign (multipart/form-...
Sandip Gadade's user avatar
0 votes
1 answer
66 views

I need to create a Restfull API with Spring Boot 3.x./ Spring_Data_JPA (Hibernate) I have this scenario. I need to create child entities and cascade the persist/merge to the parent entity. This means: ...
Thomas_Mylonas's user avatar
Best practices
1 vote
0 replies
53 views

There are lots of good examples for how to configure Spring Boot for CORS online, but it seems to be very hard to find anything with an intersection of: Using the APIs in Spring Boot 3 rather than ...
Jules's user avatar
  • 15.3k
0 votes
0 answers
22 views

I have a Spring Boot app that when I run locally, I can set the SPRING_QUARTZ_AUTO_STARTUP=false variable and it prevents the scheduler from starting. Doing the same in Azure App Service, and it is ...
MrDuck's user avatar
  • 23
0 votes
1 answer
101 views

I recently migrated my application from Spring Boot 2 with Hibernate 5 to Spring Boot 3 with Hibernate 6 in a testing environment. Since the migration, I encounter issues during high load (overload ...
i.fayza's user avatar
  • 21
-1 votes
1 answer
71 views

We have a Spring Boot application deployed on AWS Lambda that makes outbound calls to OCPI partner APIs (EMSP roaming partners). We use @Async for these outbound calls to avoid blocking the main ...
Arjun Rishi's user avatar
-1 votes
0 answers
65 views

My learning Spring Boot project consists of the files below. My goal is to write Unit tests that test the UserRepository queries. I've tried different annotations, but never got the test to run. ...
doppelfish's user avatar
0 votes
0 answers
33 views

I'm working with the New Relic Java agent and trying to record a simple custom metric using recordMetric. My use case is very straightforward: I want to track something like "transactions per ...
JUAN DIEGO DIAZ ACEVEDO's user avatar
1 vote
0 answers
115 views

I am trying to persist a JsonNode field into a PostgreSQL jsonb column using Spring Boot 4 (Hibernate 7). Entity import tools.jackson.databind.JsonNode; import jakarta.persistence.*; import org....
lain2lo's user avatar
  • 131
-2 votes
0 answers
63 views

I'm generating a PDF using OpenHTMLToPDF (PdfRendererBuilder) in a Spring Boot app, and my custom fonts (ttf) are not being applied. What am I missing for OpenHTMLToPDF to properly apply custom TTF ...
user2342348's user avatar
Best practices
1 vote
3 replies
127 views

In both Spring and Angular, there are two common ways to inject dependencies: Constructor injection Field-style injection (@Autowired in Spring, inject() in Angular) In Spring, constructor injection ...
ATW's user avatar
  • 289
Advice
4 votes
7 replies
275 views

I am learning backend development using Java and Spring Boot and have built REST APIs using it. I noticed that newer technologies like Node.js and Go are becoming popular for backend development. ...
Bhukya Praveen's user avatar
Advice
0 votes
0 replies
66 views

i want to build small chat web application in which chat are end to end encrypted and features of call and video in java spring boot . guide me for build it and what algorithm i can use for it . Give ...
Samyak's user avatar
  • 1
1 vote
1 answer
121 views

A RestClient needs to communicate with HTTPS to a host with self-signed TLS certificate. I have seen a similar question here on StackOverflow, Disabling SSL Certificate Validation in Spring ...
jogerj's user avatar
  • 180
1 vote
1 answer
134 views

so I've been following this tutorial to build a small website: https://medium.com/@alexandre.therrien3/java-spring-tutorial-the-only-tutorial-you-will-need-to-get-started-vs-code-13413e661db5 I used ...
Arcturus's user avatar
3 votes
1 answer
217 views

I migrated from spring boot 3 to spring boot 4 and I have an issue with the JSON created by Jackson. The response is like this: public class MyResponse { private List<MyData> data; ...
phildeg31's user avatar
  • 423
Best practices
0 votes
0 replies
78 views

We have noticed that the following Tomcat session metrics are no longer being tracked after adding the org.springframework.session:spring-session-data-redis dependency : ...
user32570680's user avatar
0 votes
2 answers
81 views

After migrating from Spring Boot 3.5/Logbook 3.12 to Spring Boot 4/Logbook 4.0.4 I have noticed missing trace-id in logs generated by Logbook for an async HTTP response in context of Spring Web MVC ...
Krzysztof Tomaszewski's user avatar
Best practices
3 votes
1 replies
70 views

I recently started using jOOQ, and I absolutely love it. I really appreciate how intuitive it is writing jOOQ code feels exactly like writing raw MySQL However, as a beginner, I’m struggling to find ...
qwervcxz999's user avatar
2 votes
1 answer
70 views

I faced an issue when testing a controller endpoint that takes in multipart data. In the test environment the controller throws a missing part exception: WARN 21080 --- [xxxx-yyyyyyy] [main] .w.s.m.s....
uauauaua's user avatar
Advice
0 votes
2 replies
49 views

I have been working on Microservices learning path. Trying to call address service from employee service using Open feign in eureka client program, but I'm encountering this error message: Request ...
Vijayarajakumar's user avatar
1 vote
1 answer
51 views

I am building a company-specific Spring Boot autoconfiguration. The code looks something like this: @AutoConfiguration @AutoConfigureBefore(SecurityAutoConfiguration.class) @...
Wim Deblauwe's user avatar
  • 27.3k
2 votes
1 answer
137 views

I had a Java application in Java 17 which uses the IIOP CORBA protocol for JMS message connection listener and processing those further. After upgrading from Java 17 to Java25, I get below error ...
Navin a.s's user avatar
  • 436
Best practices
0 votes
0 replies
67 views

I am building a search system using Spring Boot and OpenSearch. Current setup: Using OpenSearch ingest pipeline with text_embedding processor Each ZIP file contains 10K+ documents Bulk indexing is ...
Naveen's user avatar
  • 1
Best practices
0 votes
0 replies
57 views

I am building a mid-sized E-commerce web application using Spring Boot, Spring Data JPA (MySQL), and Redis. I need to handle concurrent order creations and prevent overselling (race conditions) when ...
Nguyễn Trung Nghĩa's user avatar
Advice
0 votes
2 replies
35 views

I would like to use webauthn / passkeys in my spring boot application. I've read quite some tutorials and documentation about spring boot and webauthn but all were just using the default login form ...
Werzi2001's user avatar
  • 2,175
0 votes
1 answer
66 views

I have a Spring Boot REST API written in Kotlin using Keycloak with Spring Security for authentication and authorization. I want to expose one endpoint publicly but protect it with Cloudflare ...
JailBreaker's user avatar
Advice
0 votes
2 replies
58 views

This usually happens because Lombok generates getters/setters at compile time. Your IDE (VS Code, IntelliJ) can see them while running the app, but Maven doesn’t automatically run Lombok’s annotation ...
Ravindu Nethsara's user avatar
Best practices
0 votes
1 replies
55 views

I have a React UI with a Spring Boot backend that retrieves data from a SQL database. The screen contains around 45 filter columns, where filters work in a cascading way. For example: Selecting a ...
Sunny's user avatar
  • 1
1 vote
1 answer
56 views

Given is a Spring Boot application.yml file. host: example.com unc-path: \\${host}\share If unc-path is printed, the output is \${host}\share. I expect the placeholder ${host} to be resolved. The ...
user1056903's user avatar
0 votes
2 answers
137 views

I am learning SpringBoot and I'm making an application that need to connect to a Springboot API. I don't have problem when running my API locally, but when I use Docker it fails to find the database. ...
Gwendal Ars's user avatar
-1 votes
0 answers
89 views

I have 2 instances of Spring Authorization Server (SAS), running locally behind nginx. My SAS is using: Spring Session JDBC to save session to oracle db JdbcOauth2AuthorizationService to save ...
Stephan Tommy's user avatar
Best practices
1 vote
5 replies
126 views

I am studing Full Stack development. so far, I don't have an idea what is the content of files in IntellIJ and how it helps my project. do I follow tutorials or ChatGPT to write and understand the ...
Ronahi Ibrahim's user avatar
0 votes
0 answers
44 views

I think I am sending messages to local Azure Event Hubs emulator successfully because I do not see any errors in the console. But I do not receive any messages in the consumer. I have the following ...
ilhan's user avatar
  • 9,113
Tooling
0 votes
1 replies
90 views

What is best choice java spring- boot deployment. AWS ELASTIC Beanstalk or Render. Frontend is in Angular ,Vercel. The problem is aws give http and Vercel have https. And the beginners don't want to ...
Milan Suryavanshi's user avatar
Best practices
2 votes
2 replies
127 views

I have a Spring Boot application that relies on the default DataSourceAutoConfiguration to create my DataSource bean. I also have a custom bean that must be fully initialized before the DataSource ...
Harry Yang's user avatar
0 votes
1 answer
132 views

I am migrating a Spring Boot 3.2 application from a custom Auth server to Keycloak. In my previous setup, I used a flat list of roles in the JWT. However, Keycloak nests roles inside a realm_access ...
Max's user avatar
  • 1
0 votes
0 answers
122 views

I am working on a project with multiple Spring Boot projects. I have a one "common" project that is a dependency used by other projects. Inside that common project, I have created an @...
C.S.'s user avatar
  • 181
Best practices
1 vote
4 replies
224 views

I am using Spring Boot 4. Before (in Spring Boot 3), I created my own ObjectMapper bean like this : @Bean @Primary public ObjectMapper objectMapper(Jackson2ObjectMapperBuilder builder) { ...
samitha senevirathna's user avatar
0 votes
1 answer
54 views

@Component public class CustomAuthenticationEntryPoint implements AuthenticationEntryPoint { @Autowired @Qualifier("handlerExceptionResolver") private HandlerExceptionResolver ...
Nguyen Si's user avatar
0 votes
0 answers
58 views

Spring Boot is unable to find a preferred_username attribute when authenticating against Entra. I have registered an application in our Entra tenant as follows: Optional Claim - add 'acct' and '...
Kevin Day's user avatar
  • 16.6k
1 vote
1 answer
121 views

I just downloaded a demo project from start.spring.io In pom.xml I changed the kotlin version to 2.2.0 and added `io.mockk` dependency. But in the code I am not able to import it. Even though I see ...
firstpostcommenter's user avatar
Tooling
1 vote
4 replies
68 views

I have simple example Spring Boot Web projcet. And I have Docker desktop running on my Mac (silicon). I would like to run my spring web app on my local docker. And I have Dockerfile in my Spring boot ...
catch22's user avatar
  • 334
2 votes
2 answers
217 views

In my new application, I'm using Spring Boot 4. I noticed that ObjectMapper is now under import tools.jackson.databind.ObjectMapper; so I'd like to understand how to modify this bean that I was using ...
Lako12's user avatar
  • 411
0 votes
0 answers
41 views

I want to add Kamon metrics for Akka to my Spring service, for that i included the following dependencies: <dependency> <groupId>io.kamon</groupId> ...
Diogo's user avatar
  • 21
Best practices
0 votes
1 replies
54 views

I have implemented redis for otp purposes, same redis used for triggering emails for another application using redis queue which deployed in same tomcat server. Now when I redeploy my otp service, ...
kishor's user avatar
  • 1
3 votes
0 answers
94 views

I’m trying to integrate GridDB Cloud with a Spring Boot Java application, but I’m not sure about the correct setup process. I followed the documentation and added the GridDB Java client library to my ...
subhash sah's user avatar
2 votes
0 answers
101 views

Hibernate LEFT JOIN FETCH returns empty PersistentBag in Spring @Transactional integration test Problem When using @Transactional on a Spring Boot integration test class, Hibernate's LEFT JOIN FETCH ...
Joons's user avatar
  • 41
-1 votes
0 answers
126 views

I am building a RAG (Retrieval-Augmented Generation) pipeline using Spring Boot 3.5, Spring AI 1.1, and pgvector. I am using Java 21 virtual threads to speed up the document ingestion process. When I ...
Max's user avatar
  • 1

1
2 3 4 5
3009