1,919,136 questions
0
votes
0
answers
20
views
Check if a JdbcClient transaction ran successfully in Java Spring
I need to insert one row of data in two different tables. Since the tables are related, i grouped the insert in a TRANSACTION in order to make them behave as an atomic operation.
My code follows:
...
0
votes
1
answer
23
views
Problems when trying to alternate frame transparency
A few days ago, I encountered a Swing error when trying to change the transparency of the JFrame (undecorated), which lost its color and transparency information.
When the application starts, it ...
0
votes
0
answers
13
views
jBPM Spring Boot + Spring Data
Hello I'm created jBPM Spring Boot Embedded APP
In general everything works fine
But When I tried to add my custom entity and use JPARepository for it
I meet the problem
I think potential problem that ...
0
votes
0
answers
35
views
Edge-to-Edge Looks Different on API 35 vs API 31
I tried implementing edge-to-edge for both API 35 and pre-API 35.
However, the results look slightly different.
As shown in the screenshot, edge-to-edge looks great on a device running API 35. But on ...
0
votes
1
answer
24
views
No qualifying bean of type 'org.springframework.boot.web.server.test.client.TestRestTemplate' available
I'm trying to test my @RestController, but it doesn't work, giving me the error
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'studio.abos.springcalc....
-1
votes
0
answers
22
views
JSL-Springboot security login page redirecting infinitely (ERR_TOO_MANY_REDIRECTS)
/login page seems to be stuck in a loop of being redirected to self.
For context, I want /register & /login to be visible without authentication, while all other pages in my project should ...
0
votes
0
answers
37
views
How to refer to a specific instance of a class in yaml configuration using ConfigurationProperties for POJOs with Lists [duplicate]
I am trying to map a yaml configuration file to a complex schema of classes with relationships between the classes in order to build an API that can be highly configurable based on a yaml config file....
0
votes
0
answers
48
views
While updating org.springframework.boot:spring-boot from 2.6.6 to 3.4.8, getting "java.lang.IllegalStateException"
I am newbie in Java Development , Getting below error while trying to update org.springframework.boot:spring-boot from 2.6.6 to 3.4.8
java.lang.IllegalStateException: The following classes could not ...
0
votes
0
answers
12
views
UWB ranging does not start with multiple peers using multicast mode in androidx.core.uwb
I am working on an Android UWB application using androidx.core.uwb.
When I add multiple peers to the device list and use multicast mode, ranging does not start at all.
With a single peer, ranging ...
1
vote
0
answers
42
views
Dynamically determining foreground based on its actual background
Here's a problem.
With Windows L&F, whose default selection background is white, selected text snippets that are highlighted with yellow are going to be hard to read (see the second screenshot).
...
0
votes
0
answers
38
views
Illegal char <:> at index 45: cn.iso.product.projectname-mergeDebugResources-51:/values/values.xml
Task :app:mergeDebugResources FAILED
Execution failed for task ':app:mergeDebugResources'.
> A failure occurred while executing ...
-3
votes
0
answers
55
views
Why are all lazy associations serialized in my JSON response even when I never access them? [duplicate]
I’m working on a Spring Boot project with JPA/Hibernate. I have an entity Product that looks like this:
@Entity
@Table(name = "PRODUCTS")
@AttributeOverride(name = "id", column = @...
0
votes
1
answer
86
views
403 Forbidden returned in spring boot
I have a spring boot application that uses rest to communicate with clients, this application has 2 types of users: visitors and employees.
These 2 users have different authentication methods but they ...
1
vote
1
answer
40
views
Why is the apache kafka internal consumer not reading my messages
Logical idea
I did set up a SpringBoot application which produces messages to a Kafka broker which runs in a docker container.
Docker setup of Kafka broker
I followed following stept to setup a Kafka ...
1
vote
0
answers
41
views
message-driven-channel-adapter stop receiving messages after a couple of days
I'm having an issue that I'm unable to solve it.
Here is the following scenario
In my application I'm creating an Entity and then I send that entity as XML in in a Queue.
Then I'm having an outound-...