Tag Archives: spring
Aspect trace logging in Java (Spring Framework)
An easy way to enable tracing of methods and parameter values in Java Spring is by using AspectJ. A simplified example of my Aspect class to make tracing easy, without any ‘logger.trace’ code in the classes itself: package com.markvandenbergh.test.util; import … Continue reading
Autowiring Spring bean in IntelliJ
Having one of the following errors in IntelliJ? Could not autowire. No beans of ‘yourType’ type found or Could not autowire. There is more than one bean of ‘yourType’ type. If you’re sure you have your Spring bean definitions correct … Continue reading