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
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
10 views

Springboot + Mybatis: Insert rows into multiple tables asynchronously

I have a customer json like below { "id": "id", "name": "full name", "products": [{ "id": "pid1", &...
Krishna Chaitanya's user avatar
0 votes
0 answers
12 views

How can I overwrite a single thymeleaf template from an external .jar?

I have an app already written and similarly to this post: How to Load templates from external folder using Thymeleaf I have the need to overwrite templates, in my case I don't care about redeploying ...
Gunfus's user avatar
  • 3
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
0 votes
0 answers
24 views

How to define a TestConfiguration for TestContainers?

I have multiple test classes that use the mongo test container. Instead of declaring a container using the same code multiple times, I wanted to create a test configuration, to avoid repetitive code. ...
Feldmarshall's user avatar
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
-1 votes
0 answers
21 views

Dynamic scheduling using scheduleconfigure in spring

Does the above approach support a single trigger—with the year, it will have seven fields—and also support recurring triggers?
Pooja Devops's user avatar
0 votes
0 answers
20 views

How to improve architecture of a Transfer Monitoring Service using Observer pattern in Spring Boot?

I'm developing a system for monitoring money transfers. The idea is to dynamically build SQL queries based on different criteria using the Observer pattern. Once the matching transfers are found, they ...
John Williams's user avatar
0 votes
0 answers
10 views

I am getting exception Caused by: org.hibernate.PersistentObjectException: detached entity passed to persist after upgrading spring boot to 3.4.3

I am getting exception Caused by: org.hibernate.PersistentObjectException: detached entity passed to persist after upgrading spring boot to 3.4.3 from 3.3.11. Same code working perfectly in spring ...
Pankaj Kumar's user avatar
-1 votes
0 answers
29 views

Spring Batch Project

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2025-04-29T11:05:28.880+05:30 ERROR 14920 --- [sr-mart] [ restartedMain] o....
Anand Singh's user avatar
0 votes
0 answers
16 views

Spring Boot 3.4.4 Native Build: Error finding reachability-metadata.json with native-maven-plugin 0.10.6 and GraalVM CE 24.0.1

I am trying to build a Spring Boot application as a native executable. First, I generate the reachability-metadata.json file using the agent: java -agentlib:native-image-agent=config-output-dir=target/...
Hanbey Toktaş's user avatar
0 votes
1 answer
25 views

Could not autowire. No beans of 'TodoRepository' type found in module app

I have a hexagonal example, and I use separate modules for api, domain, dao. https://github.com/barii/spring-boot-modular-example For some reason, the repository is not injected in TodoService. ...
barii's user avatar
  • 345

15 30 50 per page
1
2 3 4 5
10072