this is a lab for class I'm trying to do. Here's the instructions: Write a program that takes in a line of text as input, and outputs that line of text in rever
I want to create a layout like this, but I don't know how to place the CardView background under the ImageView and then set TextView below the image. The image
I have a json file with which has an array of product items i want to split them based on the category of the item, This is my json file looks like, { "item
I want to just take the data from menSize and its price but it keep printing out the womenSize eventhought it doesn't add anything in it. Do I need to seperate
I try to use Windows 10 command line to print colored messages on console, but with no success. According to the Log4j 2 documentation, I should add the Jansi j
Is there a Java code that will look in every folder of a given drive and search for .bat files? And return them has a ArrayList of Files? I'm
I'm developing a service with spring webflux. I implemented exception handling using @ControllerAdvice. It works pretty well, but when I run integration tests i
I have built simple microservice application using Spring-Boot and Eureka server. Now, I want to add fault-tolerance in case any of service registered in Eureka
I am using a Spring-Boot (2.3.3) application with Hibernate (5.4.20) and JPA repository on MySql DB, and I have a Bi-directional relationship between an entity:
method used currently public static String getScreenshot(String screenshotName) throws IOException { String dateName = new SimpleDateFormat("yyyyMMddhhm
I'm working on an exercise, where I need to create a subclass that has 2 constructors (1 is empty and sets the values as 0 the other one is getting the values.
Showing "Error initializing QuantumRenderer: no suitable pipeline found" after running JavaFX application. I added required JavaFX jar files to the project and
Hackerrank problem Drawing Book. Brie’s Drawing teacher asks her class to open their books to a page number. Brie can either start turning pages from
For some reason java can't map DTO with requestBody and all values are default ones, as for request it works, with payload for ex. "{"productId":1,"commitment":
Java 8 here using Apache POI 4.1 to load Excel (XLSX) files into memory, and write lists of Java beans/POJOs back to new Excel files. To me, an Excel file (at
Since JDK 9 we have a new Java Logging API: https://docs.oracle.com/javase/9/docs/api/java/lang/System.Logger.html https://www.baeldung.com/java-9-logging-api h
I need create spring boot application as daemon with disabled default web server and with active server actuator by http. I need actuator only by http no jmx.
Errors I get ERRORES: Failed to load resource: the server responded with a status of 403 () login:1 Access to XMLHttpRequest at 'http://localhost:8080/l
I do a very simple thing. I go to Tools -> Options -> Xamarin> Android Settings and I change the "Java Development Kit Location" path. I press ok. I co
Guys I may or may not be wrong, But seriously, I am struggling with file uploading problem in Amazon S3 bucket. When I am trying to hit on the request then I am