1,918,024 questions
0
votes
0
answers
8
views
Springboot 3.5.7 - /actuator/info endpoint not exposed via application.yaml
I've experimented with different yaml configs to expose the /actuator/info endpoint but to no avail. I keep getting a whitelabel error page informing me there's no static resource for /actuator/info.
...
-2
votes
0
answers
35
views
What do you think of having a lazy runtime execution for arrays and even loops? [closed]
Currently, my language [Coderive][1] only work for a simple 1 quintillion array range, lazy loop optimization with simple assignment, if-else, if-without else, if-elif-else, two statements only. I ...
-2
votes
0
answers
18
views
What are the consequences of using pac4j-oidc v6, which depends on spring-core?
I noticed that starting from version 6.0.0, pac4j-oidc has a dependency on spring-core.
What consequences will this have for my project (Java 17 + Hibernate 5 + Tomcat 9) if I start using pac4j-oidc ...
-1
votes
1
answer
50
views
How does Java resolve method overloading ambiguity when competing methods have parameters with similar depth hierarchy
Here's a very basic program I wrote to test how Java overloading is resolved when an exact match is not found, and what priority is assigned to other matching methods.
import java.io.*;
public class ...
0
votes
0
answers
13
views
Jacoco ignore tests with ParameterizedTest annotation
All tests that use ParameterizedTest annotation show 0% coverage in jacoco report
Also in Jacoco 0.8.14 (latest for today)
<plugin>
<groupId>org.jacoco</groupId>
<...
0
votes
0
answers
19
views
HTTP Security unit tests no longer working with Spring Boot 4
I have a (jwt) security enabled application and have written unit tests to verify the security filtering works as expected. With Spring Boot 3 these unit tests work fine, however, after upgrading to ...
0
votes
0
answers
24
views
Problem in building Android Java library in VS 2022 .Net 6 C#
I have a Bixolon printer R200III, and I want to print from an Android application in a VS 2022 C# Android app.
However, the printer SDK is provided as an AAR file.
I built an Android Java library in ...
-6
votes
0
answers
32
views
Facing Server Timout Issue [closed]
https://serverfault.com/q/1197347/1334706
Plz check the question there , and help me fast please.
The tcp connect time to my domain in cloudflare is taking more than 20 sec. The proxy is off.
-6
votes
0
answers
21
views
What is the correct way to configure Swagger (springdoc-openapi) so that /v3/api-docs does [closed]
Swagger errorSwagger UI fails to load API definition – /v3/api-docs returns 500 (Spring Boot + Springdoc)
I’m building a REST API using Spring Boot, Spring Data JPA, Spring Security, Validation, and ...
-2
votes
0
answers
31
views
Java Swing automation with Squish works for simple flows but fails on deeper navigation [closed]
I’m automating a Linux-based Java Swing application using Squish for Java 9.1.1 on a VirtualBox VM. Automation works for simple flows, but after navigating 3–4 pages the app intermittently shows a ...
Advice
0
votes
1
replies
25
views
Are Kafka Heartbeat messages running on independent thread or are they linked to consumer poll and commit?
Is Kafka consumer heartbeat message same as consumer poll and commit? Or does it run on a separate thread and keeps sending heartbeat to Kafka broker as long as the consumer JVM is responding?
The ...
Best practices
0
votes
9
replies
82
views
Apache PDFBox uses ~1.6 GB RAM to render a 1-page scanned PDF — should I optimize Java or switch to PyMuPDF (Python)?
I have a Java service that converts PDFs to images using Apache PDFBox.
For most text-based PDFs this works fine, but for some scanned, image-only PDFs, memory usage becomes extremely high.
metrics
...
0
votes
1
answer
37
views
How do I enable custom treatment of onBackpress in Android?
I have been going through all of the recommendations and none of them work. This is current code.
@Override public void onBackPressed(){
if( isCustomKeyboardVisible() ) {
...
-3
votes
0
answers
50
views
What could a Java JDBCTemplate pattern is equivalent into Go? [closed]
I'm a newbie working with Go with past experience on Java.
Is there a Go framework or the like as the JDBCTemplate from Java?
Best practices
0
votes
8
replies
38
views
Table layout adjusting insides of components
I want to display and configure multiple objects of the same class at the same time, while keeping up the good looks of a table. So: one line per entity, with multiple GUI elements per line for the ...