Category "java"

Springboot Actuator Refresh does not reload @Value properties in @ConfigurationProperties

I have a springboot application that ingests an application.properties via @ConfigurationProperties and @PropertySource("classpath:application.properties"). My

Use ScheduledExecutorService to update JavaFX elements

Currently I am making a program that reminds me when to water my plants, while also putting the weather into account. I would like to display the current temper

Should the young generation size be more than a service's normal heap consumption?

We have a service, whose process sitting idle, takes a heap memory of 612 MB. The heap of our service is given a initial and maximum size of 1GB. The young gene

Connecting to Daml JSON API

I am stuck with this error. I don't know how to set the authorization header with a token. Java code: package URL; import org.json.simple.JSONObject; import su

IntegrationFlow memory leak

I have two integration flows that get files from two different directories. @Bean public IntegrationFlow processBridgeFlow() { return Integratio

How can I delete the product and corresponding logs?

I want to delete all the product logs of a specific product depending on its product_id(FK). I created product logs to monitor when the product it's created and

Output Sorted KV Pcollection to a SST file from Google Cloud Dataflow

I am trying to create a SST file from a Pcollection(Simple KV<String, String>>) using dataflow.This SST file will be later used for loading the rocksdb

I'm getting this error anyone know the solution

I'm getting this error anyone know the solution FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':flutter_plugin_android_lif

Flink - Failed to get metadata for topics exception while consuming from kafka topic

I have setup flink operator and kafka on minikube (both are on different namespaces). I am trying to consume messages from a kafka topic in flink and do some tr

Sync User Keycloack with User spring boot app

Hello I'm on a spring boot application with a keycloak authentication server and I would like to save the users on the spring database does anyone have a track

SQLite find a UUID and change value in row (Minecraft plugin)

I have a question about SQLite in bukkit encoding. I'm trying to figure out how to find a player in the database using a UUID and change values ​​(s

KeyListener does not handle keystrokes java

I'm creating a game with a level constructor.According to the idea, the player creates a level with the mouse, places the robot, cargo and loading location, and

I want my batch file to execute my jar file in PowerShell and not cmd?

I made a .jar file for my little Programm that works in the Terminal. I also made a bat file to open my jar file automatically however it opens my jar file in t

How Do I Create A Daily Excel Export In Azure?

I am moving a legacy application to the cloud and need guidance on breaking it up. There is a Java application that creates reports/statements out of a database

When should I use Comparator vs Comparable?

I have a list of POJOs I need to sort somehow. I define a Comprator inside the POJO class and use it to sort the list. Is the following way correct/best practic

Can we make folder inside template package of SpringBoot Application?

I have been working on dummy Web application, and there are lot html file in template which I want to organize. I am getting an error when I have keeping them i

Java -> operator

I know that -> is used for lambda expressions with the syntax ()->{}. But I saw this code: file -> file.isFile() - with no () and {}. What does it do?

List View Constrain jump to top

I am trying to learn SQL database with a tutorial. I add user and age to database and get them back and displayed using listView using ViewAll button then if

What is a NullPointerException, and how do I fix it?

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause

Get pixels of a recyclerView item

I'm wondering if it's possible to get the pixels of an item of a recyclerView, let's say I have an horizontal recyclerView and all the items are the same size (