Skip to content

Tag: java

change offset without changing local time

I have a date that is in IST format. Which is something like the I have the following code for the above output startOfDay is just and extenstion function which is something like this But, what the backend really wants is in the below format with -8:00. Is there any way I can format it to have -08:00 in the

Set Xmx and Xms for java application running on k8s

I’ve an application running on k8s and would like to updated the java heapsize . I’ve updated the JAVA_OPTS environnement variable and set it in the deployment file as below but when i run the below command it looks like my changes does not takes effect I’m i wrong can someone help me and ex…

Optaplanner – spring BeanCreationException

I’m migrating Optaplanner from v7.x to v8.14 on a project that uses spring-boot (as a web api). I’ve added the optaplanner-spring-boot-starter dependency to the project, however when starting the application, I got the following error : The project is in two separated modules, one with everything …