I added some rows to a DefaultTableModel, but none of them was shown. My question is - what is the problem? It seems to me like Intellij idea just playing a jo
I have an usecase(migrate data from Oracle to MongoDB via Java app) where I required to implement transaction management to ensure "all-or-nothing" in the datas
I am trying to use this new feature of CameraX Image Analysis (version 1.1.0-alpha08): using setOutputImageFormat(ImageAnalysis.OUTPUT_IMAGE_FORMAT_RGBA_8888),
I need to write a unit test for the method processNotification. But this method internally calls JsonUtility.getNotificationDTOFromMessage. I need the return
From Kafka doc https://kafka.apache.org/11/documentation.html#producerconfigs , it says that: The configuration controls the maximum amount of time the client
I want to pass two arrays of names so that it will return an array containing the names that appear in either or both arrays. The returned array should have no
Our java sdk include custom bash script for run a java application. Intellij default configuration for java application call this command: JDK_PATH/bin/java -AL
Here is the code, I'm trying to use a non-static field in a static-method, but I don't know how to do it. package hombre.numbro; public class
I am trying to write some integration tests in my spring application. POM: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.
I am trying to Sanitize the requestBody. For this purpose I am converting Object to Json and then passing the Json to requestBody { "data": { "id": "
I've created a role and and a user in Keycloak and added one attribute in both of them; for example: my_role_attr = 'x' my_user_attr = 'y' Then I'm trying to
I can't reach aws when my login is made using AWS SSO. I login from my computer using: aws sso login --profile staging The profile is configured like this: [pr
Fellow programmers from SO! I am building a simple Spring Boot example just to add a Client using a RESTful API. I have written this Controller: import org.spri
I'd like to upgrade java from 8 to 11 as recommended for Jenkins 2.303.1, I'm reading the guide in https://www.jenkins.io/doc/administration/requirements/upgrad
I'm new to coding, put already in a lot of hours and feel like I'm progressing step by step. However, I've encountered a problem that I was not able to solve ev
I don't understand why this is showing since my test definitely asked PowerMock to prepare for it. @PrepareForTest({AmazonSQSClientBuilder.class}) @RunWith(Powe
I have an exercise problem from MOOC.fi that I am stuck on! We are learning about arrays and lists in Java, and here is the text for the problem: "The exercise
For example, I have string with range of earnings: 5 000-10 000 USD and i want to extract from that string minimum and maximum value. I prepared regexes, for e
I am dealing with a JSON that looks like this :- { "key1": { "key1.1": { "nestedkey1": "something", "nestedkey2": "something", "nest
I have a WebClient that sends a JSON object with login credentials to a remote server. The remote server then returns the cookie. After which I need to POST dat