13 questions from the last 1 days
-1
votes
0
answers
25
views
Recursion help please
I am a beginner at Java. My teacher explained recursion and backtracking in a weird way. I tried to look at Youtube videos but it didn't help. In this problem I do not know why my n is decreasing each ...
0
votes
0
answers
17
views
JasperReports: Recompiled JRXML template causes errors with existing code using old library (jasperreports-2.0.4.jar)
I'm facing an issue with JasperReports after recompiling a template. Here's the situation:
In 2022, I created a PDF template using JasperReports Studio (I believe it was version 6.20) and compiled it ...
-4
votes
0
answers
39
views
How to handle token expiry [closed]
I'm facing a one issue in my flutter application I'm login the dashboard not log out we close the application and used different applications and after 4 to 5 days later once we click on the my ...
-1
votes
0
answers
42
views
It didn't find or loaded the main class BasicFrame16
I would like to know the reason why i can't execute this JAVA OpenGL project, first, i push on compile and execute and secondly, i receive the next message:
Error: no se ha encontrado o cargado la ...
0
votes
0
answers
20
views
What is the purpose of springdoc.group-configs[_].display-name if Swagger UI derives the group display name from SwaggerUrl instead
I'm trying to understand the relationship between groups and URLs in Springdoc.
For example, we might have the following Springdoc configuration:
springdoc.swagger-ui.urls[0].url=${springdoc.swagger-...
-1
votes
0
answers
53
views
Java 21 HttpClient: Intermittent java.io.IOException: HTTP/2 stream was reset when POSTing JSON how to make it reliable? [closed]
I’m building a small Java service (Java 21) that calls a third-party REST API. I’m using and sending JSON with POST. The request works most of the time, but intermittently fails with an IOException / ...
Advice
0
votes
2
replies
54
views
Design billing system microservices communication
I have the following design for billing platform:
I'm facing the following question for to implementing the communication between microservices.
Microservice 1 is used to configure users, billing ...
Best practices
0
votes
3
replies
80
views
How to programmatically get the GPU core count in Java?
I am developing a Java application where I need to detect hardware capabilities for performance optimization. While getting the CPU core count is straightforward using Runtime.getRuntime()....
0
votes
1
answer
47
views
Change height of ItemDisplay customName
Is there a way to change the height of the customName from an ItemDisplay Entity? Right now the customName of the ItemDisplay is right in the displayName of my player. My current code:
ItemDisplay ...
Advice
4
votes
11
replies
137
views
How to build strong fundamentals of programming without using AI
I am currently learning programming and I want to build strong fundamentals in subjects like logic building, problem solving, and understanding how programs actually work. However, I have noticed that ...
Advice
1
vote
1
replies
75
views
Coding minecraft plugin with java
I wanted to make a minecraft plugin but i don't have any idea about how...
Do you have any suggestions about editors and library?
Also some tutorials to watch or guides for start from 0, maybe some ...
Advice
0
votes
5
replies
75
views
Java 17 for Hadoop and Java 24
I currently have Java 24 installed on my system and I use it for my personal projects. However, for my college work with Hadoop, I need to run it on Java 17. How can I set up Hadoop to use Java 17 ...
1
vote
2
answers
98
views
How to use XmlAdapter correctly?
Recently I need to convert Java objects into XML file format, but directly using JAXB to convert Java objects does not meet my needs. Through researching, I found that XmlAdapter can be used to ...