Skip to content

Tag: spring-boot

Spring Boot – Host JaCoCo coverage as static HTML

I am working with Spring Boot 2.2.5 and Java 8. I have a Spring Boot webservice that I deploy and run as a linux service using the embedded Tomcat in Spring Boot. During my Maven build, I generate code coverage metrics using the JaCoCo Maven plugin, and I would like to package and host these static HTML pages…

How validate an object using @Valid in Spring Boot?

I’m working on a Spring Boot project and I’m trying to validate some fields from an object. Actually I have an API which accepts parameters. I know I can use @Valid into API declaration like this: But I don’t want to validate there. I have a “filter” object to validate the values…

Spring Cloud Configuration Server not working with local properties file – getting need to use a composite configuration

I am configuring the new spring config server and getting the below error. I have tried the below links but no luck Spring Cloud Config Server configuration with local repository spring config server- for local git repository https://medium.com/@danismaz.furkan/spring-cloud-config-with-file-system-backend-c18…