1,918,969 questions
- Bountied 1
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
15
views
How to remove ns2 from a sitemap xml?
I am trying to generate a proper sitemap in a Spring Boot with Java but it creates "ns2" that I don't want. Is it possible to remove?
My generated xml is as following:
<?xml version="...
0
votes
0
answers
30
views
JAVA 23 and JAVAFX: Problems in creating an executable app
I'm developing an app using JavaFX, but I've encountered a problem creating a build and converting it into an executable app. Several years ago, I created a small app using this technology, and I ...
0
votes
0
answers
20
views
Problem with maven compilation of test module which depends on engine
I have a maven project structure dummy with 2 sub-modules dummy-engine and dummy-test
I declare following module order in the dummy root pom file:
<modules>
<module>dummy-engine<...
0
votes
0
answers
20
views
How to handle errors in batch processing during incremental data synchronization (Oracle → Kafka → DB)?
I'm implementing an incremental data synchronization pipeline:
1.
Oracle → Kafka (using OGG)
2.
Kafka → Internal DB (using a custom consumer with Spring Cloud Stream)
The messages contain INSERT, ...
0
votes
1
answer
38
views
How to use slf4j-api > 2 in jersey servlet container
I have a Jersey servlet project, where I organize the depencies with maven. It runs in Tomcat.
Update of slf4j-api
Now I am trying to use <artifactId>slf4j-api</artifactId><version>2....
0
votes
1
answer
51
views
Can I programatically check if an endpoint has @PermitAll annotation, e.g. from its SecurityContext?
I'd like to be able to programmatically check whether or not an endpoint in my Helidon MP application has the @PermitAll annotation, e.g. from its SecurityContext or something like that. Is this ...
-1
votes
0
answers
44
views
Chunk size always 4 in multi-threaded step even though chunk-size is set to 6 [closed]
I’m using Spring Batch 5.2.2 with a chunk-oriented step and multi-threaded execution. Here’s my setup:
Chunk size: 6 (new SimpleCompletionPolicy(6))
Thread pool: corePoolSize=5, maxPoolSize=8, ...
1
vote
0
answers
61
views
sourceCompatibility and targetCompatibility of Java in Flutter apps and scalability of production app?
This is what my android/app/build.gradle.kts file looks like (only a portion shown):
android {
... ...
... ...
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
...
0
votes
0
answers
43
views
Kafka Auto Commit and current Poll behavior
I am trying to understand a behavior which is a bit confusing. We are using Spring boot and KafkaListener approach for the consumers. The configuration has auto commit set to true with the default ...
0
votes
1
answer
28
views
com.intellij.execution.CantRunException: No JDK for module 'aetherian-tools-and-ores-template-1.21.1.main
I was making a custom minecraft mod and everything was working, but then out of nowhere it gave me com.intellij.execution.CantRunException: No JDK for module 'aetherian-tools-and-ores-template-1.21.1....
0
votes
0
answers
34
views
Jdbc with long running queries; timeouts on AWS environment [closed]
I'm not a programmer, but I try to be as much complete as I can.
We are developing an application combining Bash scripting and a JAR execution. The main script launches the JAR that will wait for ...
0
votes
0
answers
75
views
What way is more efficient for narrowing down the type of a parameter?
I'm trying to create a class called Complex to do complex number arithmetic. It's abstract and has two subclasses Cartesian and Polar for different representations of complex numbers, and each of them ...
0
votes
0
answers
30
views
Gradle in vscode not working (org.gradle.api.plugins.internal.DefaultDecoratedConvention)
I have a problem with Gradle in vscode, when trying to build a project, it throws an exception: "org.gradle.api.plugins.internal.DefaultDecoratedConvention". At the same time, the manually ...
-3
votes
0
answers
44
views
Why in Spring JPA, there is a difference between timings of First Statement as compared to Second and Third statements? [closed]
I was just experimenting with the Spring JPA when I basically tried to use a Controller to save a simple entity with just 3 fields among them one of which was an ID. While insertion, I have observed ...
-3
votes
0
answers
94
views
Problems converting JAR to exe [closed]
I have tried several different things to convert a JAR to exe, but it always keeps failing.
I downloaded Launch4j, made a custom runtime:
Using javac -d classes src\*.java
Using javac -d classes src\**...