You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Ben Humphreys (JIRA)" <ji...@apache.org> on 2018/11/08 05:45:00 UTC

[jira] [Created] (SM-3853) Missing import: org.apache.commons.logging.impl in spring-core-5.1.1.RELEASE

Ben Humphreys created SM-3853:
---------------------------------

             Summary: Missing import: org.apache.commons.logging.impl in spring-core-5.1.1.RELEASE
                 Key: SM-3853
                 URL: https://issues.apache.org/jira/browse/SM-3853
             Project: ServiceMix
          Issue Type: Bug
          Components: bundles
    Affects Versions: bundles-2018.10
            Reporter: Ben Humphreys


As of Spring 5.1 spring-core depends on _org.apache.commons.logging.impl_

See: [https://github.com/spring-projects/spring-framework/blob/v5.1.1.RELEASE/spring-core/src/main/java/org/springframework/core/log/CompositeLog.java#L23]

org.apache.servicemix.bundles.spring-core in the 2018.10 bundles do import _org.apache.commons.logging_ but not _org.apache.commons.logging.*impl*_

The failure looks like this:
{noformat}
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{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)