I'm making an application for a school project, but I'm running into the issue that when I try to run the unit tests that it tries to connect to the database wh
I am receiving the following error. Not sure what is causing this and how to fix this. This is happening on the server side which is using Netscalar for Load
I'm getting started with GoogleCloudPlatform - I want to use it from Java on my Mac. I have followed the various installation instructions and have (presumably)
I'm trying to make call to repository inside my Entity Listener, when I call repository.findById() method inside my @prePersist method the same method is callin
I checked out Ballerina and built using mvn clean install. I get the following error. [ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven->plu
My task is to migrate a code from C++ to Java. In the C++ there is a vector called vector1 with the following code: vector1[0].insert(vector1[0].begin(), to_str
I have a question that I have researched that I did not find any compelling answers to. If you want to run a program in a loop every 2 hours o
I have included all the jars in the POM file as follows: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xml
Hi I am trying to index an entity in solr using spring boot data solr. But i am getting exception Caused by: org.apache.solr.client.solrj.impl.HttpSolrCli
I am new to java and trying to use the logger in java.util. I declare the logger like this snippet: Logger logger = Logger.getLogger(MyClass.class.getName());
How to mock the resultset? In the test class trying to mock the resultset as below but, when trying to test getting error as UnnecessaryStubbingException at s
For HL7(Health Level 7) I'm using Hapi Write Operation :- ADT_A01 adt = new ADT_A01(); adt.initQuickstart("ADT", "A01", "P"); // Populate th
I am trying to escape a string object in my Java application using StringEscapeUtils.escapeHtml4. I am using commons-lang3-3.5.jar library. Below is the forma
Due to design constrains the project I am currently working on won't allow us to write certain set of configuration parameters in plain text file such as proper
Im only been working with Java before but need to set up some tests in C#. In a login test I like to have a wait method waiting for the login cookie to be set.
I am just implementing a search with Lucene 5.5.0 for a JSF web application. In the application, several user can edit documents and very simple (only date and
Using spring boot 2.6.2, with java17, trying to create native image but it fails with below error. I am building it on windows 11 machine with docker desktop i
I have a problem with my modular JavaFX application. I created a JavaFX project and added the JavaFX lib and JavaFX modules get recognized. However, I keep gett
I am tring to run a javafx program on ubuntu with this DOC,i am using sdk:monocle-linux-x64_bin-sdk,and copy the library to lib path(include the libgluon_drm-1.
I want to create a random pixel generator in swift. How would I be able to create something like the below codes in swift? Java program to demonstrate creatio