Document conversion API Ch.qos.logback conflict in Java

i’m trying to upgrade to groupdocs conversion 19.6. i’m able to compile fine, but when i run a conversion i get the following exception which indicates that there’s a conflict ch.qos.logback.classic.LoggerContext (maybe something you have compiled in?). can ya’ll shed some light on this for me?

14:42:36.034 [main] DEBUG com.instructure.knightrider.converters.GroupDocsConverterImpl - Starting conversion of: demo.docx to PDF

Exception in thread "main" java.lang.IncompatibleClassChangeError: Class ch.qos.logback.classic.LoggerContext does not implement the requested interface org.slf4j.a

at org.slf4j.c.OR(Unknown Source)

at org.slf4j.c.bf(Unknown Source)

at com.joestelmach.natty.i.<clinit>(Unknown Source)

at com.groupdocs.conversion.domain.documents.PdfDocument.parse(Unknown Source)

at com.groupdocs.conversion.domain.documents.PdfDocument.dp(Unknown Source)

at com.groupdocs.conversion.domain.documents.PdfDocument.a(Unknown Source)

at com.groupdocs.conversion.domain.documents.PdfDocument.a(Unknown Source)

at com.groupdocs.conversion.domain.documents.PdfDocument.a(Unknown Source)

at com.groupdocs.conversion.domain.DocumentBase.load(Unknown Source)

at com.groupdocs.conversion.domain.DocumentLoader.a(Unknown Source)

at com.groupdocs.conversion.domain.DocumentLoader.load(Unknown Source)

at com.groupdocs.conversion.domain.DocumentLoader.load(Unknown Source)

at com.groupdocs.conversion.operations.f.aK(Unknown Source)

at com.groupdocs.conversion.operations.F.execute(Unknown Source)

at com.groupdocs.conversion.converter.pdf.PdfConverter.convert(Unknown Source)

at com.groupdocs.conversion.converter.pdf.PdfConverter.convert(Unknown Source)

at com.groupdocs.conversion.handler.ConversionHandler.aJ(Unknown Source)

at com.groupdocs.conversion.handler.ConversionHandler.convert(Unknown Source)

at com.groupdocs.conversion.handler.ConversionHandler.convert(Unknown Source)

at com.instructure.knightrider.converters.GroupDocsConverterImpl.convert(GroupDocsConverterImpl.java:73)

at com.instructure.knightrider.commandline.ConvertFile.main(ConvertFile.java:91)
1 Like

@bkirkby,

We are looking into this scenario. Your investigation ticket ID is CONVERSIONJAVA-732. As we have any further update, you’ll be notified.
We’ll let you know if we require any information from you.

1 Like

@bkirkby,

Please try to reproduce issue using 19.6.3.
If issue still persists, share a simple (console based) application with us including pom.xml using that issue could be reproduced?
Also share your development environment details:

  • OS
  • IDE

Hi, I have the same problem.
IntelliJ / Mac OS 10.14.6
gradle - build (unfortunately 19.6.3 isn’t accessible yet
on GroupDocs Java Repository Browser /java/repo/com/groupdocs/groupdocs-conversion/)

15:59:17 [https-jsse-nio-9443-exec-10] ERROR o.a.c.c.C.[.[.[/].[springServlet] - Servlet.service() for servlet [springServlet] threw exception
java.lang.IncompatibleClassChangeError: Class ch.qos.logback.classic.LoggerContext does not implement the requested interface org.slf4j.a
at org.slf4j.c.OR(Unknown Source)
at org.slf4j.c.bf(Unknown Source)
at com.joestelmach.natty.i.(Unknown Source)
at com.groupdocs.conversion.domain.documents.PdfDocument.parse(Unknown Source)
at com.groupdocs.conversion.domain.documents.PdfDocument.dp(Unknown Source)
at com.groupdocs.conversion.domain.documents.PdfDocument.a(Unknown Source)
at com.groupdocs.conversion.domain.documents.PdfDocument.a(Unknown Source)
at com.groupdocs.conversion.domain.documents.PdfDocument.a(Unknown Source)
at com.groupdocs.conversion.domain.DocumentBase.load(Unknown Source)
at com.groupdocs.conversion.domain.DocumentLoader.a(Unknown Source)
at com.groupdocs.conversion.domain.DocumentLoader.load(Unknown Source)
at com.groupdocs.conversion.domain.DocumentLoader.load(Unknown Source)
at com.groupdocs.conversion.operations.f.aK(Unknown Source)
at com.groupdocs.conversion.operations.F.execute(Unknown Source)
at com.groupdocs.conversion.converter.pdf.PdfConverter.convert(Unknown Source)
at com.groupdocs.conversion.converter.pdf.PdfConverter.convert(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.aJ(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.a(Unknown Source)
at com.groupdocs.conversion.handler.ConversionHandler.convert(Unknown Source)

@valentinz,

Your issues will be assisted here.

i had to upgrade spring-boot and it took a while to resolve the dependencies, but i was able to test and 19.6.3 does fix the issue.

are we going to get an official release for it? thanks!

1 Like

@bkirkby,

API version 19.9 will be released soon. As the release gets on-board, we’ll notify you.

1 Like

@bkirkby,

Please download the official release 19.10.

1 Like