Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
bundles-2018.10
-
None
Description
As of Spring 5.1 spring-core depends on org.apache.commons.logging.impl
org.apache.servicemix.bundles.spring-core in the 2018.10 bundles does import org.apache.commons.logging but not org.apache.commons.logging.impl
The failure looks like this:
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/impl/NoOpLog at org.springframework.core.log.CompositeLog.<clinit>(CompositeLog.java:35) at org.springframework.core.log.LogDelegateFactory.getCompositeLog(LogDelegateFactory.java:62) at org.springframework.http.HttpLogging.forLog(HttpLogging.java:68) at org.springframework.http.HttpLogging.forLogName(HttpLogging.java:57) at org.springframework.http.converter.AbstractHttpMessageConverter.<init>(AbstractHttpMessageConverter.java:54) at org.springframework.http.converter.StringHttpMessageConverter.<init>(StringHttpMessageConverter.java:70) at org.springframework.http.converter.StringHttpMessageConverter.<init>(StringHttpMessageConverter.java:62) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:172) ... 9 common frames omitted