We've written a component based on spring-security-core and spring-test (scope test). When I ran my first test, it could't find LogFactory
of commons-logging
.
I looked into the pom.xml
of spring-security-core
and was surprised that it is excluded on spring-core
which usually provides this dependency. The LogFactory
of commons-logging
is used at compile time in different spring classes, so why it is excluded?
JFTR: If I change the order so that
spring-test
is listed beforespring-security-core
everything is ok.