Skip to main content
Filter by
Sorted by
Tagged with
Tooling
0 votes
4 replies
71 views

I’m used to working with a Database First approach in C#. I design my database schema (often with MySQL Workbench) and do a forward engineering, then generate my C# models using Entity Framework’s. ...
alex_pythooon's user avatar
-12 votes
0 answers
72 views

You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? class Solution { public int ...
user31921588's user avatar
0 votes
0 answers
56 views

I have an unclear situation. I'm using a controller with any endpoints. I have a two methods with Get endpoints /short and /{idOrCode}. Pathvariable is a String type. Endpoint with this pathvariable ...
ivvasch's user avatar
  • 71
Advice
0 votes
2 replies
58 views

why can we subscribe as may as we want from reactor publisher but just one time from java stream api?What reason is there for stream to be one time use?
AMZ's user avatar
  • 410
0 votes
0 answers
46 views

I have a JMS-based application setup where one application(3rd party component with no code level access, but configurable) acts as the only message producer. This producer sends messages to the ...
Pasindu's user avatar
  • 23
Advice
0 votes
1 replies
40 views

I am working on BridgeLink 4.6.0, and I need to validate XML files (CCD/CCDA) using XSD schemas. Earlier versions of BridgeLink allowed Java access inside JavaScript (e.g., Java.type, Java.extend, ...
Arjun Asokan's user avatar
Advice
0 votes
4 replies
78 views

Reading through the masterpiece Thinking in Java, Bruce Eckel in many location mentioned that the constructor is a static method. I can't find any article or reference supporting this idea, even I ...
Melad Basilius's user avatar
-4 votes
0 answers
79 views

This is my MRE. Here is how my project is structured Project structure here Settings.json file { "java.project.referencedLibraries": [ "lib/weka.jar" ] } Main.java import ...
Christopher Pray's user avatar
-2 votes
0 answers
34 views

Why does my Flask app not recognize the custom filter I created?
Shakti Sourav Swain's user avatar
Advice
0 votes
2 replies
55 views

I am newbie to apache ignite Is it possible to connect using IgniteClient to the node started in embedded mode? anyone has a example program to start apache ignite 3.0 in embedded mode with 2 nodes on ...
Ankit Lunawat's user avatar
0 votes
0 answers
48 views

I built a Spring Boot application using Maven, and the project compiles without any errors. However, when I run the packaged jar using : java -jar target/myapp-0.0.1-SNAPSHOT.jar I get the following ...
Basudev Haldar's user avatar
0 votes
0 answers
84 views

If you could settle this stylistic / best practices discussion between me and a coworker, it would be very thankful. I'm working on a significantly old Java codebase that had been in use for over 20 ...
Sebastian's user avatar
  • 803
Advice
1 vote
1 replies
60 views

I am trying to make a custom overlay for my application that will hide the screen if any screen share or unauthorized recording of my app is running. The problem is, that I am trying to avoid using ...
The-Pro Gamer's user avatar
0 votes
1 answer
58 views

What we are already doing is that JVM can respawn itself from the last own shutdown hook running. It strongly depends on proper closing of all resources and ports. And here comes the problem - all ...
dmatej's user avatar
  • 1,588
1 vote
1 answer
77 views

I am new to OPC-UA and trying to use Eclipse Milo to read and write Objects but I am getting the following Error: org.eclipse.milo.opcua.stack.core.UaSerializationException: no codec registered for ...
Mabsito's user avatar
  • 11
-3 votes
0 answers
72 views

I’m building a Java + Spring Boot application where users need to select a game from a dropdown menu. Before I start building and maintaining the list manually, I’d like to know: Is there any existing ...
malpish0n's user avatar
1 vote
3 answers
105 views

I'm building a Spring Boot application where I'm trying to upload files or large content through a REST endpoint. The request is being rejected by Spring Boot with this warning: ...
omar rharbu's user avatar
Advice
0 votes
2 replies
45 views

I am working on a Spring Boot 3.5.0 application that publishes messages to an AWS SQS FIFO queue. My requirement is: When sending a message to SQS: If it fails (network error, AWS error etc.), the ...
IronMan's user avatar
  • 49
1 vote
1 answer
43 views

I am reading into java compile-time annotation-processing. I can easily process annotations manually on the commandline, using javac -d . MyAnnotation.java javac -d . MyAnnotationProcessor.java javac -...
Viktor Engelmann's user avatar
-7 votes
0 answers
68 views

How Output do I access the element index/id in the right way? Because I put 101 and it goes to 102 then I fixed it I put -1 on the scanner, then when I put 101 it access 100. Please help System.out....
Nat Nats's user avatar
Advice
0 votes
3 replies
94 views

I have written a java code that replicates a chess game. For UI i have used Vaadin. I'm trying to integrate stockfish to my code. but from the below links link 1 link 2 it seems like i have to run a ...
Akash Jain's user avatar
0 votes
0 answers
44 views

I configured a StaxEventItemWriter like this: @Bean public StaxEventItemWriter<Foo> fooWriter() { return new StaxEventItemWriterBuilder<Foo>() .name("fooWriter") ...
Dimitri Mestdagh's user avatar
2 votes
1 answer
47 views

Maybe there's an easier way to get the Increment with JOOQ? This one looks more like a crutch: int increment = Optional.ofNullable(CUSTOMER_ID_SEQ.getIncrementBy()) .map(Field::getName) ...
wuttke's user avatar
  • 155
1 vote
0 answers
43 views

I'm needing someone who actually has this working to weigh in as I'm really struggling to get this running... Here is my task definition in full: Superfluous and irrelevant bits have been removed. { ...
Michael Wiles's user avatar
0 votes
1 answer
65 views

With the entered code here, I am trying to build a project on springboot. I am using AES encryption in my project. I am keeping the password(key) of AES in the application properties. The variable ...
user31911891's user avatar
Advice
0 votes
1 replies
165 views

I’m building a WebSocket-based microservice architecture using Spring Cloud Gateway and STOMP WebSockets. Users log in through the frontend, and the backend sets: access_token (HttpOnly, Secure, ...
Eltaj's user avatar
  • 11
-1 votes
0 answers
64 views

My jenkins container start command: docker run --name jenkins --restart=on-failure --detach \ --network jenkins --env DOCKER_HOST=tcp://docker:2376 \ --env DOCKER_CERT_PATH=/certs/client --env ...
SleepyCat's user avatar
-4 votes
1 answer
57 views

I am trying to exchange my authorizatoin code for an access token. I keep getting a "request parameters are malformed" error. I can curl the endpoint just fine but for some reason I can't ...
Kristian Martinez's user avatar
-1 votes
1 answer
44 views

I have a Spring Boot application on version 3.5.6 and the New Relic agent is logging the application data without any problems. After updating Spring Boot to version 3.5.7, the application logs ...
Ricardo Damasceno's user avatar
-1 votes
0 answers
37 views

I’m learning Java and testing basic input handling. I wrote the following simple program: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner ...
Burak HINGE's user avatar
0 votes
1 answer
56 views

I have an existing application which uses Apache Cassandra, and I am attempting to check its compatibility with Azure Cosmos DB for Apache Cassandra My application uses a recent 4.x version of the ...
David North's user avatar
  • 1,139
1 vote
1 answer
49 views

I'm experiencing a persistent cookie corruption issue with my Java EE web application deployed on WildFly 37.0.1.Final. The error appears immediately when accessing the application URL, even after ...
kinderBueno's user avatar
0 votes
0 answers
24 views

Running KeyCloak 26.4.2 or 26.4.5 and jdk-21 on Windows 10. // script to generate and install certificate function Generate-Certificate{ $keycloakInstallationDir = "C:\PathToCertificate&...
Mihai's user avatar
  • 389
Best practices
0 votes
5 replies
53 views

I'm having a method that accepts, for example, two long primitives. How can I add checks to prevent the accidental swapping of parameters? Something like this should be detected. public void ...
fritz's user avatar
  • 111
0 votes
2 answers
75 views

I've been trying to teach myself various sort methods just for the sake of being able to use them in the future and right now I've been teaching myself about shell sorts. I understand the way shell ...
Neptunium-Eater's user avatar
0 votes
0 answers
28 views

I’m using Payara 7.2025.1 with payara-micro-managed, Arquillian, and JUnit 5. When I run my tests, a Payara Micro instance starts and deploys correctly, but it seems that the tests themselves are ...
Albert Albatros's user avatar
0 votes
0 answers
44 views

I have a spring boot 3 application and I have added springdoc-openapi dependency ie <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-...
Thejas's user avatar
  • 527
Best practices
0 votes
2 replies
43 views

I’m developing an application in which login and roles are entirely handled by Keycloak. My Java backend has an application database that also contains additional user business data. I’ve been asked ...
Ixiodor's user avatar
  • 51
5 votes
0 answers
136 views

Background: I'm debugging a Java sorting setup where I found a faulty Comparator already (violates the contract). My goal is to implement a test case which provokes the well-known java.lang....
polo's user avatar
  • 57
0 votes
0 answers
65 views

System is on two site, facing issues on resiliency so using circuit breaker. When I am on close state then sending message to the primary site on call back on secondary site both are using different ...
Anonymous's user avatar
-3 votes
0 answers
82 views

If a GUI test must involve entering text in a text field, a convenient shortcut is robot.enterText(..) (available in both FEST and its fork, AssertJ Swing). I was under the impression the utility is ...
Sergey Zolotarev's user avatar
1 vote
0 answers
37 views

I'm using Spring Boot 3.5.7 with Micrometer Tracing (OpenTelemetry bridge) to add a traceId to my logs. I have a REST endpoint and a custom filter like this: @RestController @RequestMapping("/api/...
Aymen Kanzari's user avatar
0 votes
0 answers
25 views

I'm working on implementing dynamic bundle loading for React Native. Currently, ReactInstanceManager.Builder only supports asset:// and file:// protocols for loading JavaScript bundles. I need to ...
akshay dhule's user avatar
Advice
0 votes
3 replies
104 views

Note. I hope "why" questions do fall into the "other" category. This compiles. class MyClass { private static final String STRING; static { STRING = "abc&...
Sergey Zolotarev's user avatar
0 votes
0 answers
85 views

Google Play is warning that my app does not support 16-KB page size. My app currently supports only 4-KB pages. When I checked my AAB using the APK Analyzer, I found that the file libgmm-jni.so does ...
PAkultie's user avatar
  • 142
0 votes
0 answers
61 views

I used sonar-maven-plugin 3.11.0.3922 on a java program which was compiled with jdk1.8.0_391_x64, but got the "sonar failed: An API incompatibility was encountered while executing org.sonarsource....
albertkao9's user avatar
1 vote
0 answers
37 views

Problem Summary I'm attempting to migrate a WaveMaker project from version 9.4 to 10.6.6 and encountering persistent compilation errors related to type mismatches between Integer and BigInteger in the ...
Mehdi Enn's user avatar
0 votes
0 answers
41 views

I am trying to open a webpage in a CustomTabsIntent and hide the "Open in Chrome" option which appears to be done in androidx.browser v1.9 or later. This is the code CustomTabsIntent.Builder ...
Rich Morey's user avatar
2 votes
1 answer
81 views

Given a Java ConcurrentMap, I would like to atomically: Check if an entry is contained in the map If it is present, run an action (I'm thinkng of a BiConsumer taking the key and its value) Otherwise, ...
Danilo Piazzalunga's user avatar
1 vote
0 answers
56 views

I'm having a problem migrating from Spring 4.3.5 to 5.3.39 (I know community support for these versions has ended, but I need to investigate the problem). My application runs on IBM WebSphere 9 (JVM 8,...
Benny Evangelista's user avatar