[ 
https://issues.apache.org/jira/browse/CXF-8755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626239#comment-17626239
 ] 

Andriy Redko commented on CXF-8755:
-----------------------------------

[~coheigea] was working on it, so the hard blocker we have is that Spring  5.x 
/ Spring Boot 2.x does not support Slf4j 2.x / Logback 1.4 [1], and indeed it 
fails with:
{noformat}
10:34:53.718 [main] ERROR org.springframework.test.context.TestContextManager - 
Caught exception while allowing TestExecutionListener 
[org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4218500f]
 to prepare test instance 
[org.apache.cxf.systest.jaxrs.spring.boot.SpringClientOnlyJaxrsTest@1755e85b]
java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder
    at 
org.springframework.boot.logging.logback.LogbackLoggingSystem.getLoggerContext(LogbackLoggingSystem.java:293)
    at 
org.springframework.boot.logging.logback.LogbackLoggingSystem.beforeInitialize(LogbackLoggingSystem.java:118)
 {noformat}
I think we should keep 3.6.x / 3.5.x  on Slf4j 1.7.x, at least for the time 
being, what do you think?

[1] https://github.com/spring-projects/spring-boot/issues/12649

> Update to Slf4j 2.0
> -------------------
>
>                 Key: CXF-8755
>                 URL: https://issues.apache.org/jira/browse/CXF-8755
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 4.0.0
>
>
> [https://mvnrepository.com/artifact/org.slf4j/slf4j-api/2.0.0]
> https://www.slf4j.org/faq.html#changesInVersion200



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to