Category Archives: Spring

Spring Boot & Multi module projects – Adding module specific property files [Updated]

Hello! In this post I will show you several ways how you can add module specific properties files in a Spring Boot project. It will cover a manual approach for making the property files profile aware and a semi automatic way that is profile aware. An example project is published on my Github account (https://github.com/coders-kitchen/spring-boot-multi-module-property-files). […]

 

13
Kudos
Don't
move!

Read more

Gradle: Using expand and jQuery

During the last days I started to enable a build-time setup for one of my Spring projects. One thing I set at build time was the spring.profiles.default  context parameter. For replacing wildcards during build time I added the expand()  closure to the war-task of my Gradle build script. The problem This works fine til I wanted to […]

 

1
Kudos
Don't
move!

Read more

Hibernate and java.lang.NoSuchFieldError: TRACE

During the implementation of some integrationstests for a Spring application I faced the problem, that the tests couldn’t be executed due to the following error:

After some investigation I figured out, that Hibernate has a non transitive dependency to Log4J log4j >= 1.2.12 – I use slf4j / logback for logging -. After I added […]

 

19
Kudos
Don't
move!

Read more