Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
4 views

Springboot refuses to utilise the custom RedisCacheManager

So I have a bit of an issue with regards to Redis. It seems that SpringBoot refuses to utilise the custom RedisCacheManager bean that I've created despite using the approppriate annotations ("@...
Brown Niqqar's user avatar
-3 votes
0 answers
14 views

Java reference types vs primitive types explanation [closed]

Java reference types vs primitive types explanation Java reference types vs primitive types explanation What is the purpose of the Node class in a Linked List, and why do we write Node head and Node ...
Bhargav Gurram's user avatar
0 votes
0 answers
6 views

Configure Spring @HttpExchange interface to use based on a property

Include details about the goal I would like to be able to configure via application.properties the Spring @HttpExchange interface to use There are two external services that expose a REST endpoint. I ...
PatPanda's user avatar
  • 5,098
0 votes
0 answers
18 views

Channel closing when application is restarting

When my application gets an unexpected type of exception I use channel.basicNack(tag, false, true); SpringApplication.exit(context); to stop the app and put the message in its original queue. After ...
Ikarus's user avatar
  • 11
0 votes
0 answers
18 views

Precise control of time when testing the Spring test code

I'm trying to write a test code to find out about TDD. I'm trying to avoid using Thread and find out how to calculate the exact time to comply with the fast processing among the FIRST principles. Test ...
NINE's user avatar
  • 659
0 votes
0 answers
29 views

Spring Boot Application Fails with "Missing preceding open capture character" in Path Pattern Despite Correct Mappings

I'm encountering a Spring Boot startup failure during Maven build tests in my recommendation microservice. The error indicates an invalid mapping pattern /recommendation}, but I've verified all my ...
Rahman Karimli's user avatar
0 votes
0 answers
15 views

Accessing the spring security Principal from a secured MCP Tool when using the sse transport

I secured an MCP Server using the instructions in the blog post https://spring.io/blog/2025/04/02/mcp-server-oauth2 I can connect to the server using the MCP inspector, and the bearer token is ...
stelios's user avatar
  • 71
1 vote
1 answer
55 views

Controller and beans are using different contexts

Im learning Spring and Spring Boot and made a simple education project. This is just simple Spring Boot project without any specified configurations. Pom.xml: <?xml version="1.0" encoding=...
TylerSwift's user avatar
0 votes
1 answer
42 views

UnsatisfiedDependencyException for OAuth2AuthorizedClientManagerRegistrar in Spring Security 6.2.8

I encountered an UnsatisfiedDependencyException while migrating from Spring Security 6.1.9 to 6.2.8. The exception occurs during the initialization of the OAuth2ClientConfiguration class, specifically ...
Mantu Singh's user avatar
0 votes
2 answers
69 views

Binding url params to POJO in Spring

How to bind @RequestParam to object in Spring (GET mapping). I have the following method in my controller class: @GetMapping("/quotes") void getQuotes(QuoteRequest request) { } ...
menteith's user avatar
  • 678
0 votes
1 answer
20 views

Spring boot - Validation on RequestPart

I have an issue when I'm trying to validate a @RequestPart parameter in my Spring Boot application. DTO: @Data @NoArgsConstructor @AllArgsConstructor @Builder public class CreateProductRequestDto { @...
alexandru istrate's user avatar
-2 votes
0 answers
33 views

Can't understand how microservices are running as dependency [closed]

There is a project at my company, where they previously had a microservice architecture using springboot, let's say service A and service B, now they've created another application service-combined, ...
Alok Sardar's user avatar
0 votes
1 answer
39 views

Error when trying to use test Jpa configuration in integration testing

What I am trying to achieve: Run an integration test for a Spring Controller in a test container, use a TestJpaConfig instead of JpaConfig: @SpringBootTest(webEnvironment = SpringBootTest....
CJR's user avatar
  • 3,592
0 votes
0 answers
32 views

I'm trying to create docker-compose file, but I keep running into errors that are listed in the logs

This is my Dockerfile: FROM openjdk:24 ARG APP_JAR=*.jar COPY ${APP_JAR} app.jar ENTRYPOINT ["java", "-jar", "app.jar"] EXPOSE 8080 This is docker-compose: version: '3.1'...
Ренат Валитов's user avatar
0 votes
0 answers
26 views

Ehcache Not Working with Hibernate Second-Level Cache

I'm working on a maven application using Hibernate and Ehcache for second-level caching. Despite configuring Ehcache, the cache doesn't seem to be working as expected. Every time I query the database, ...
Ankit Bhardwaj's user avatar

15 30 50 per page
1
2 3 4 5
14165