Category "java"

Explore Graph in RDF4J custom function

I'm trying to implement a plugin for Ontotext GraphDB. I hope it will compute the distance between two entities via breath first search (see GraphDB as an undir

Class [package.classname] Not Found .Error while loading [<servlet class>] when deploying web app to glassfish server

Earlier Everything was working fine. After last successful running of project .I created git branch and added some packages and classes.(git is pointing to this

Convert device path starting with \\?\ to Path

I want to read and write data to a HID device in a java program. The device's path, in Windows, is formatted like so: \\?\HID#VID_XXXX&PID_XXXX#...#{xxxxxxx

Probably bad PKCS12 password: When importing .jks in SoapUI

I'm doing the following to generate Certificates .jks file for Service Testing in SoapUI: keytool -genkey -alias QACert -keyalg RSA -keystore "C:\QACert.jks" -k

Is there a possibility to make main thread wait when the scheduledExecutorService process is running scheduleWithFixedDelay

I need to monitor the property value has changed or not throughout the java program run, if its value has changed in need to do some necessary steps to handle t

Convert docx to PDF using iText PDF version 5

I'm using iText PDF version 5, and I'd like to know if it's possible to convert .docx files to pdf files. Unfortunately I'm a bit stuck using version 5 due to c

How to use KeyGenerator with PasswordProtection

Let me start off by saying that I am a noob in the whole encryption thing. I am trying to generate a key and store it in the Android KeyStore protected with a p

HtmlUnit returning empty loginForm set

I am trying to find the loginform data from the Nike website. I've added a timer to wait for the loginform to be populated but it still outputs as an empty set.

NoClassDefFoundError on MongoCustomConversions while upgrading springboot

I am getting the following error java.lang.NoClassDefFoundError: Could not initialize class org.springframework.data.mongodb.core.convert.MongoCustomConversion

Populate a drop down with a list using Thymeleaf and Spring Boot

I'm trying to add an HTML select with data from a Database using Spring Boot and Thymeleaf. I can't get it what I'm doing wrong. This is the Code that is connec

recall method contains Thread in javafx [duplicate]

I have an FXML files (update.fxml) that contains excel path in textfield and progressBar. In update.java controller I have: public class Updat

warning: [deprecation] <TResult>call(Executor,Callable<TResult>) in Tasks has been deprecated

I'm getting this error while I was running my app (though my app is running fine) : C:\Users\dassa\Downloads\flutter_windows_2.2.3-stable\flutter\.pub-cache\hos

JUnit5: How to repeat failed test?

One of the practice many companies follow is to repeat unstable test until is passes x times (in a row or in total). If it is executed n times and fail to pass

PDFCleanUpProcessor just remove text

Is there a way to get the PDFCleanUpProcessor from Itext to just remove text and not other items? The code i've got here removes part of a table border as well

FCM push notification is not working in release branch when minify set to true

I have earlier tested many times FCM was working just fine, but now only in the release environment I am not able to get the push notification. I am using the d

Sonarqube scan with different java version than project

I have a project which is written in java 8. It is kind of complex for me and very dependent to java 8. However I also happen to have a SonarQube and a Jenkins

GridLayout not displaying JButtons

I currently have GridLayout(3,0) and I want to add some buttons. However, nothing shows up when I run my program. Here is the code (the class extends JFrame): p

Why some of the functions of array objects are not working when selecting them from the menu?

I created this program in Java programming to get all recipes details inputs from user and then user can choose to insert, find, remove or display recipes detai

ArrayIndexOutOfBoundsException - Scoreboard with images

I am trying to make a scoreboard with images in processing, with images from 0 to 9, but any number greater than 9 does not make changes It should be something

Regions In Transition в java application

Please tell me what's wrong, I'm new to working with hbase. when creating regions in a java application for hbase, an error occurs below then. Caused by: org.ap