The problem appears in openConnection(). I've tried all solutions and they didn't work. Can someone save me and write the solution in details
How to implement below :- fail if name/id/sal isnull or missing/or has null value then string->pojo should fail.How can i implement ? Actual json is nested .
I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals()
Im working on the new release of a software who moves from java 8 to java 11. I have installed both javas. In my .bashrc file i have the following lines for whe
I have the following class which builds: public class Test<T> { public T DoSomething(T value) { return value; } } I can
I am new to coding.I wants to copy a file from SFTP server to S3bucket.I don't want to copy it in to my local..I am trying to do this in Java springboot.Is ther
Got a small spring-boot messaging app that receives a message from the queue and inserts/updates a row in DB2 table. Noticed this week it received lot of messag
For example if you set the color of a textfield as Color.RED, is there a method to actually return that color? I found a method in the Oracle logs called getCar
I have a HashMap structured like {a=[test], b=[test, test2]} I want to compare entry values (test, test2) with each other and if any entry ha
According to log4j documentation, if I define a logger config for package com.a.b.c with level ERROR with root logger level set to DEBUG, only ERROR logs should
I am working with some not really well designed APIs and when the object is null it returns empty array, like this: No-null response: "SourceType": { "ID": "2
I am trying to connect a little Java App to a SQL Server database using Visual Studio Code. This is my code: import java.sql.*; public class App { public st
I'm trying to build a password manager application. During the process I've come across a problem: implementing the autofill functionality that other password m
I would like to know best coding practice or design pattern which I can follow to achieve following task in Java: I need to enable check box in UI based on cert
Hiho, I have a json string with the following structure: { "version": "1.0.0", "dependencies": { "version": "1.0.0" } } It can also look like th
I was messing around with some sample code to check if I understood how objects behave when referring to one another when I stumbled upon this situation: public
Instead of running Quarkus, I'm running OptaPlanner through a Main class entry point in Kotlin. This works great within Intellij where I have a simple Run Confi
I have a method whose signature is: <T> T fromJson(String json, Class<? extends BaseClass> extendedClass) The goal of the method is to to convert js
I am trying to make a put request using Postman with Spring Boot. The idea is to give the subscription object a foreign key value with a put request or post. I
Using a function that generates a list of "adjacent" values from an input value, i.e. Function<Object, List<?>> adjacent; one can "traverse" any "a