Category "java"

Rundeck Runtime issue

I am trying to upgrade Rundeck war file from rundeck-3.4.3-20210823.war to rundeck-4.1.0-20220420.war and getting SQL statement errors can some please help us f

how do i store maven dependencies inside docker image using a Dockerfile

so im making a spring boot application that im supposed to put in and run from a docker container, and i would like to build the whole image using a docker file

Repeatedly getting "PKIX path building failed" and "unable to find valid certification path to requested target"

I have been facing this annoying issue of certificate during mvn clean install execution. PS C:\Users\milan\service> mvn clean install [INFO] Scanning for pr

Need to convert file name based on date [closed]

We have a requirement to where the input file will be KYB_FX_SPOT_AUTO.20220327 where KYB_FX_SPOT_AUTO. would be a constant and 20220327 is dy

Android TV Leanback: Setting setOnHeaderClickedListener or setOnHeaderViewSelectedListener Breaks Normal Navigation

I'm hoping the wisdom of the crowd can help me solve a strange problem. I have a very basic ATV Leanback App using androidx.leanback.app.BrowseSupportFragment.

IntelliJ Ultimate 2019.3 find usages not working

if i use maven propertie dynamic generation version in multi-module, find usages not working. projecdt structure: -parent-project --api --service parent: <pr

IntelliJ Ultimate 2019.3 find usages not working

if i use maven propertie dynamic generation version in multi-module, find usages not working. projecdt structure: -parent-project --api --service parent: <pr

SQL executeUpdate() seems to commit data, but that is not the case. How can I find my error?

I curently work on few SQL queries (MSSQL 2O14), but only "SELECT" query works with executeQuery(). I had use execute() and executeUpdate() on "INSERT INTO" and

Can these regexes cause catastrophic backtracking? [duplicate]

I'm new to regexes. I am using these regexes throughout my android project. Can any of these cause the catastrophic backtracking? To check for

How can we write method to read integers from a Scanner stream?

My goal is to implement a method named add that receives a reference to a Scanner object associated with a stream of input consisting of integers only. The meth

Change a agSelectCellEditor drop down value using selenium

I am trying to access values in a drop down which when I inspect, nothing is been in element inspector. I confirmed with developer what type of drop down is tha

How to auto-close app open ads after splash

I placed an ad of the type: "app-open" admob. This advertisement is not accepted by the App Store except in one case: That there is a splash for the application

How can I set up my keybinds in such a way that the character does not pause between inputs?

I'm attempting to make a simple bullet hell game and am struggling to make smooth movement mechanics for the character. Here is my current code: package bulleth

I am trying to make a smart contract transaction. My transactions never gets mined

I have a smart contract deployed. Whenever I try to perform a transaction, the transaction starts, but that's it. The transaction never actually takes place (or

How can I do in java spring boot not try a database connection on start up?

I need to know if there is a way in Java Spring boot not to try a connection at startup. What I am trying to do is an integrated SQL server connection. I am try

How do I configure JSF Project in vscode?

I am trying to setup things for JSF Project in VSCode but I dont know how to do it, 'coz wherever I check there are Maven(something) specific configurations and

Ways to update many nested Documents with MongoTemplate without creating additional Update object

I use MongoTemplate to update a document using findAndModify() method. There are nested documents inside one document. Example as following: @Document public cl

Don't wait for CompletableFuture

Let's say I have some logic that I want to execute in a separate thread, and then continue with the remaining logic in my method. If I don't care about the resu

Why does my JavaCard Applet work on my JAVACOS card but not my NXP J3H145 or ACOSJ card?

I have written and successfully installed an apple tonto a JAVACOS smart card. I can install this applet onto my NXP J3H145 and ACOSJ card, but when I try to in

check if text is bold

I am testing the output of a search and I want to be sure that I will get the text and that it would be bold. For example I want the name to include "ar". As an