1,918,116 questions
0 votes
1 answer
11 views
Elements appearing in the up position
I noticed this kinda of event some weeks ago, but I ignored, now it's making me curious. the last element that I add always end up in the up position of the screen, no matter how much I try to alter ...
0 votes
0 answers
24 views
NPE when using Batch-Resolver (@Source List<>) with Openliberty's GraphQL Implementation
Environment: OpenLiberty(25.0.0.12 -> https://openliberty.io/start/#gradle) with mpGraphQL-2.0 feature MicroProfile GraphQL API 2.0 Java 21 I'm trying to use batch resolvers in MicroProfile ...
0 votes
0 answers
31 views
Execute blocking task after webflux rest service response is delivered
I want to implement a Rest Service which will return response immediately and continue processing blocking tasks only after response is delivered. The objectives are Run blocking & long running ...
Best practices
1 vote
1 replies
28 views
How to configure Spring RestClient to automatically add a query parameter to every request?
I have a Spring Boot application that calls an external API. The API requires an API key to be passed as a query parameter, for example: https://api.example.com/data?apikey=123 I want to avoid ...
0 votes
1 answer
29 views
spring webflux does not catch exception
I’m trying to catch a thrown exception in a Spring WebFlux controller. When i[0] reaches 3, it enters the handler method and executes the handler, but the returned value is not shown in the output, ...
0 votes
0 answers
22 views
Spring Boot Prometheus Push Gateway: Metrics missing label
In Spring Boot 3.5.6 I switched to the new recommended Prometheus Pushgateway solution management: prometheus: metrics: export: pushgateway: enabled: ${PROM_PUSH_ENABLED:...
-1 votes
0 answers
34 views
How to run a JMETER Java DSL test [closed]
I have created Java DSL JMETER test to create JMETER test programmatically to run it through CICD. While creating locally I do not know how to run the test through CLI. Should it be through Java or ...
Advice
0 votes
1 replies
27 views
OpenAPI Generator Maven Plugin: $ref target pointing to schema instead of Response object - SpecValidationException
Problem I'm using the OpenAPI Generator Maven Plugin (v7.3.0) to generate Java client code from a remote OpenAPI specification. The build fails with validation errors indicating that response $ref ...
0 votes
2 answers
54 views
MapStruct not mapping nested fields without explicit mappings when multiple source parameters are present
I have two similar DTO classes and a MapStruct mapper. When mapping from one object with additional String parameters, nested fields aren't mapped automatically — they become null unless explicitly ...
-5 votes
0 answers
50 views
While installing Tomcat it's throwing these exceptions [closed]
Job for tomcat.service failed because the control process exited with error code. See "systemctl status tomcat.service" and "journalctl -xeu tomcat.service" for details. [root@ ...
Advice
0 votes
2 replies
33 views
Java & Vert.x: running two different dependency sets in the same JVM with different class loaders
I have a fairly complex API service running under Vert.x in the JVM - it started pretty simple but grew massively over the 10 years it has been in production. So much so that we're in dependency hell -...
4 votes
0 answers
72 views
JVM HotSpot: what does "reexecute" mean for JIT-compiled code?
The JIT-compiled lines can have a reexecute flag. This is related to deoptimization and I guess JVM has to re-interpret this line if it gets deoptimized? But this is all foggy for me, I can't figure ...
0 votes
0 answers
46 views
Android app not detecting Bike Activity Changes
I have this Android App where am trying to detect user activity changes with. The app has the permission from the user to detect user activity. I have an external and internal broadcast receivers, ...
1 vote
2 answers
70 views
spring-boot-starter-aop jar is missing with Spring Boot 4.0.0
I created a proyect from https://start.spring.io/ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:/...
Advice
1 vote
8 replies
201 views
C++ vs Java performance under repeated heave computation
Is it possible that under repeated heave computation Java out-perform C++ by an order of magnitude? My open-source project is such a benchmark: https://github.com/Chengpu0707/VarianceArithmetic: In ...