We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

NoClassDef error is coming while PPT creation

I am using Aspose.Slides for Java (16.11.0). It is a Dropwizard application.
In my pom.xml,

<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-slides</artifactId>
<version>16.11.0</version>
</dependency>

<repository>
<id>aspose-maven-repository</id>
<url>http://maven.aspose.com/repository/repo/</url>
</repository>

It is running fine in my local system, but I deploy the same JAR on my server. It is throwing error:

StackTrace:

! java.lang.NoClassDefFoundError: Could not initialize class com.aspose.slides.ms.pbdb106a0.p6a2feef8.q
! at com.aspose.slides.p6a2feef8.pafdec700.k.do(Unknown Source)
! at com.aspose.slides.p6a2feef8.pafdec700.k.do(Unknown Source)
! at com.aspose.slides.p6a2feef8.pafdec700.h.do(Unknown Source)
! at com.aspose.slides.acm.do(Unknown Source)
! at com.aspose.slides.abz.(Unknown Source)
! at com.aspose.slides.abz.do(Unknown Source)
! at com.aspose.slides.bvu.int(Unknown Source)
! at com.aspose.slides.bvu.extends(Unknown Source)
! at com.aspose.slides.bum.do(Unknown Source)
! at com.aspose.slides.bum.do(Unknown Source)
! at com.aspose.slides.bum.(Unknown Source)
! at com.aspose.slides.TextFrame.do(Unknown Source)
! at com.aspose.slides.TextFrame.do(Unknown Source)
! at com.aspose.slides.TextFrame.else(Unknown Source)
! at com.aspose.slides.ca.do(Unknown Source)
! at com.aspose.slides.agd.do(Unknown Source)
! at com.aspose.slides.agd.do(Unknown Source)
! at com.aspose.slides.ec.do(Unknown Source)
! at com.aspose.slides.bod.do(Unknown Source)
! at com.aspose.slides.bgm.do(Unknown Source)
! at com.aspose.slides.bex.do(Unknown Source)
! at com.aspose.slides.SlideCollection.addClone(Unknown Source)

Server configuration:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

I decompiled my jar and can see com/aspose in it.

Please help and let me know if you want anything else.

Hi Siddharth,


I have observed your comments. Can you please use Aspose.slides latest version on your end. Please share feedback with us if there is still an issue.

Best Regards,

Hi Adnan,

I was under the impression that the latest version is 16.11.0.

Following links:

  1. https://mvnrepository.com/artifact/com.aspose/aspose-slides
  2. https://repository.aspose.com/repo/com/aspose/aspose-slides/
  3. https://github.com/aspose-slides/Aspose.Slides-for-Java

Please let me know the latest version.

Hi Siddharth,


I have observed your comments. Please try to download latest version 16.12.0 from this link. Please share feedback with us if there is still an issue.

Best Regards,

Hi Adnan,

I tried the new version: 16.12.0.


I got the same error.

Stacktrace:
! java.lang.NoClassDefFoundError: Could not initialize class com.aspose.slides.ms.pbdb106a0.p6a2feef8.q
! at com.aspose.slides.p6a2feef8.pafdec700.k.do(Unknown Source)
! at com.aspose.slides.p6a2feef8.pafdec700.k.do(Unknown Source)
! at com.aspose.slides.p6a2feef8.pafdec700.h.do(Unknown Source)
! at com.aspose.slides.acu.do(Unknown Source)
! at com.aspose.slides.acj.(Unknown Source)
! at com.aspose.slides.acj.do(Unknown Source)
! at com.aspose.slides.bwy.int(Unknown Source)
! at com.aspose.slides.bwy.extends(Unknown Source)
! at com.aspose.slides.bvq.do(Unknown Source)
! at com.aspose.slides.bvq.do(Unknown Source)
! at com.aspose.slides.bvq.(Unknown Source)
! at com.aspose.slides.TextFrame.do(Unknown Source)
! at com.aspose.slides.TextFrame.do(Unknown Source)
! at com.aspose.slides.TextFrame.else(Unknown Source)
! at com.aspose.slides.cc.do(Unknown Source)
! at com.aspose.slides.agl.do(Unknown Source)
! at com.aspose.slides.agl.do(Unknown Source)
! at com.aspose.slides.ee.do(Unknown Source)
! at com.aspose.slides.bpa.do(Unknown Source)
! at com.aspose.slides.bhd.do(Unknown Source)
! at com.aspose.slides.bfo.do(Unknown Source)
! at com.aspose.slides.SlideCollection.addClone(Unknown Source)

Please let me know about more approaches that could be tried.

Hi Adnan,

Thanks for your quick reply.
There was a font which was missing.

Font was installed and issue was resolved.

Hi Siddharth,


We are glad to know that issue is resolved. You are very welcome.

Best Regards,

Hi! I have a same problem:


2017-02-08 14:37:51,261 ERROR [conversion-thread-0] [plugins.conversion.impl.TimeoutConversionRunnable] run Cannot convert. Execution error:
– referer: bla-bla.pptx | url: /rest/documentConversion/0.1/conversion/convert/37093380/1 | traceId: dc9078bc9ca35a6f | userName: warprof
java.lang.NoClassDefFoundError: Could not initialize class com.aspose.slides.ms.pbdb106a0.p6a2feef8.q
at com.aspose.slides.ms.core.System.Drawing.p6a2feef8.c.if(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.(Unknown Source)
at com.aspose.slides.ms.pbdb106a0.p6a2feef8.p.(Unknown Source)
at com.aspose.slides.FontsLoader.do(Unknown Source)
at com.aspose.slides.xn.do(Unknown Source)
at com.aspose.slides.xf.(Unknown Source)
at com.aspose.slides.xf.do(Unknown Source)
at com.aspose.slides.bmy.int(Unknown Source)
at com.aspose.slides.bmy.default(Unknown Source)
at com.aspose.slides.blq.do(Unknown Source)
at com.aspose.slides.blq.do(Unknown Source)
at com.aspose.slides.blq.(Unknown Source)
at com.aspose.slides.TextFrame.do(Unknown Source)
at com.aspose.slides.TextFrame.do(Unknown Source)
at com.aspose.slides.TextFrame.do(Unknown Source)
at com.aspose.slides.AutoShape.do(Unknown Source)
at com.aspose.slides.GroupShape.do(Unknown Source)
at com.aspose.slides.Slide.if(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.Slide.do(Unknown Source)
at com.aspose.slides.ayf.do(Unknown Source)
at com.aspose.slides.ayf.if(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.if(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at com.atlassian.plugins.conversion.convert.image.SlidesConverter.convertDocDirect(SlidesConverter.java:83)
at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.doWork(JVMConversionRunnable.java:83)
at com.atlassian.confluence.plugins.conversion.impl.runnable.ConversionRunnable.run(ConversionRunnable.java:36)
at com.atlassian.confluence.plugins.conversion.impl.runnable.JVMConversionRunnable.run(JVMConversionRunnable.java:22)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Hi Viktar,


I have observed your comments. Can you please share source code and environment details and also share which Aspose.Slides version you are using on your end. Please share feedback with us so that we can investigate further to help you out.

Best Regards,

I not sure. Its Aspose integrated in Atlassian Confluence. I dont know how check version.

OS: centos7
software: Atlassian Confluence 6.0.3 packet

Hi Viktar,


Can you please share source code with us for further investigation.

Best Regards,