1,916,985 questions
-1
votes
0
answers
18
views
ClamAV returns "OK" for EICAR-embedded image files — not detecting virus signature appended to PNG/JPG or injected into metadata
I have a Spring Boot application that scans uploaded image files using ClamAV before storing them. The scan is performed by streaming the file bytes to the ClamAV daemon using the INSTREAM command via ...
0
votes
1
answer
19
views
Spring Boot 3: MDC and SecurityContext propagation failing when using Virtual Threads (Executor)
I am migrating a Spring Boot 3.x application to use Java Virtual Threads. I have replaced my standard async executor with a virtual thread executor:
Java
@Bean
public Executor taskExecutor() {
...
Best practices
0
votes
3
replies
46
views
IS there better way to do this?
I am splitting a Java program into multiple questions for a programming assignment. The goal of the program is to read a message from the user and return only the capital letters in that message. If ...
1
vote
1
answer
19
views
Files stored with s3AsyncClient from Netty HttpClient publisher are corrupted
I'm trying to forward file from http download to s3AsyncClient.
Its important for it to be asynchronous, and close to zero copy, so i used netty HttpClient and S3AsyncClient and I pass file through ...
Tooling
0
votes
1
replies
42
views
Controller connection to Java
I'm making a java program to controller a RC Car and a want to control it with a wireless xbox controller.
I've tried JInput, but without hot-pluging I don't want to use it.
I've seen people recommend ...
Advice
0
votes
1
replies
174
views
Do you support The Imagine project?
The Imagine project is looking for partners to promote The Second World Digital Strike on Feb 24 2027
We need 51% of humanity to join 2nd strike then wars stop
We need 51% of humanity to join 2nd ...
0
votes
2
answers
31
views
Java Spark mapPartitions retry causing duplicate inserts into BigQuery on task failure
I have a dataproc java Spark job that processes a dataset in partitions and inserts rows into batches.
The code uses rdd.mapPartitions with an iterator, splitting rows into batches (e.g., 100 rows ...
1
vote
0
answers
41
views
How to change the user that registers CUPS as a job requester from the Java Print API?
I'm using the Java printing API [1] to print to a printer using CUPS.
We are using Java 8 for Java client and CUPS 2.2.6.
The Java process is on the same server as the CUPS daemon where all printers ...
Advice
0
votes
19
replies
187
views
What is an Interface in Java?
i am currently lost.
I am learning Java at school and we have a Project in which a group needs to explain a certain thing in Java. Mine is Interfaces.
I am trying to research on what exactly ...
Advice
0
votes
1
replies
46
views
Unable to click 'Apply' and 'Interested' buttons on Nokri.com job pages; chatbot overlay not visible after clicking button
I am automating job applications on Naukri.com using Selenium WebDriver in Java.
My code successfully navigates to the job page and opens the job details, but I am unable to click on the 'Apply' or '...
5
votes
1
answer
118
views
Error with symbol not found: "Method onConstructor_()"
Consider:
@AllArgsConstructor(onConstructor_ = @Autowired)
I used this @AllArgsConstructor Lombok annotation in my class repository during Spring Boot work.
cannot find symbol
symbol: method ...
0
votes
1
answer
52
views
Installing GitHub project with JitPack + Maven
I want to install a project from a public GitHub repository.
I could clone and install it. However, I want to do it in one go with JitPack without storing sources locally.
Example project. My attempt:
...
0
votes
0
answers
37
views
Failed kotlin compilation in submodule
I have a multi module project. All working fine with java 8 and kotlin 2.3.0. I want to upgrade java up to 21.
After upgrading java kotlin compilatin failing in one of submodules. But in another ...
Tooling
0
votes
1
replies
61
views
Spring boot structured logging issue
Current spring implementation of structured logging with ECS format creates object "service" with fields:
name, version, environment, node
I would like to add field "id" to the ...
Advice
0
votes
2
replies
58
views
Need help in developing Multi-user Blog platform using java full stack
I need help designing a Multi-User Blog Platform using Spring Boot and React or with HTML, CSS, and JavaScript. What basic modules should I implement?
What should be my first step to start the project?...