Find out if Spring-Boot Thead-queue is in use?
I use Spring Boot 3 and have several @Async tasks.
How to access current active profile in a static method?
I have a utility class with a bunch of static methods for updating certificates in the truststore. Within the static method I need to know the name of the current active profile. Since it’s static I can’t pass the value from @Value("${spring.profiles.active:}")
. Is there a better way to do this?
Spring-boot upgrade from 2.7 to 3.0 – ASM ClassReader failed to parse class file
I am updating a code from spring boot 2.7.3 to 3.0.0 and I am facing .
‘void org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.putArchiveEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntry)’
I was migrating an application from Java 17 and Spring Boot 2.7.5 to Java 21 and Spring Boot 3.3.0. after updating the necessary configurations, the build where this error occurred.
how to return multiple byte[] in springboot controller
for getAllInvoices i need the method in controllerclass.
Proper way to manually instantiate ConfigurationProperties-annotated classes
I’m using a property file annotated with @ConfigurationProperties(prefix = "spring.data.mongodb")
to store connection parameters.
write a java code to modify the values in the Object, if value is 3 digit number show like 2k or 3k, if value is 5 digit show like 1L or 2.2L
We are having Object
LocalDateTime – issue in time display in database
I need to save a date with time in an Oracle database.
how to access the path which images uploaded?
I have a spring boot project ,I package it into a jar file. I upload this jar to server,but when visit my website, i can’t visit pictures which uploaded to the server.
enter image description here
i put my pictures in this path and jar in this pathenter image description here
my code fragment
enter image description here
enter image description here
Connecting vcenter using yavi java in springboot
I am trying to connect vcenter via spring boot, when i fill the details in serviceInstance like url, username , password, ignorecert is true/ false it is not connecting with vcenter null pointer exception is coming can you guys help me out.