@Andrey_Potapov
*** Observation1**
For the first point 1. We are using recently procured license only. I have sent the license file privately to you. Could you check and let us know as soon as possible.
aspose.slides version used is 22.8.
Jdk: Java11
Os: CentOS Linux 7 (Core)
@Amjad_Sahi any insights on this?
*** Observation2**
For point2 : It happens only when we deploy the code to an environment. And the error depends upon the class it is trying to load in the execution.
Error 1:
“ERROR : Handler dispatch failed; nested exception is java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”,“status”:{“errorMessage”:“Handler dispatch failed; nested exception is java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”,“errorDetails”:“Handler dispatch failed; nested exception is java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”,“error”:true},“stackTrace”:{“messages”:[“org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”,“java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”],“stackTrace”:[“java.base/java.lang.ClassLoader.defineClass1(Native Method)”,“java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)”,“java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)”,“java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:555)”,“java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458)”,“java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452)”,“java.base/java.security.AccessController.doPrivileged(Native Method)”,“java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451)”,“java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)”,“org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)”,“java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)”,“com.aspose.slides.ari.do(Unknown Source)”,“com.aspose.slides.Slide.do(Unknown Source)”,“com.aspose.slides.alm.new(Unknown Source)”,“com.aspose.slides.alm.do(Unknown Source)”,“com.aspose.slides.Presentation.do(Unknown Source)”,“com.aspose.slides.Presentation.do(Unknown Source)”,“com.aspose.slides.Presentation.do(Unknown Source)”,“com.aspose.slides.Presentation.save(Unknown Source)”
Error 2:
“ERROR : Handler dispatch failed; nested exception is java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”,“status”:{“errorMessage”:“Handler dispatch failed; nested exception is java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”,“errorDetails”:“Handler dispatch failed; nested exception is java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”,“error”:true},“stackTrace”:{“messages”:[“org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”,“java.lang.LinkageError: loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61 attempted duplicate class definition for com.aspose.slides.internal.fu.this. (com.aspose.slides.internal.fu.this is in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @32130e61, parent loader ‘app’)”],“stackTrace”:[“java.base/java.lang.ClassLoader.defineClass1(Native Method)”,“java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)”,“java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)”,“java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:555)”,“java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:458)”,“java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:452)”,“java.base/java.security.AccessController.doPrivileged(Native Method)”,“java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:451)”,“java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)”,“org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)”,“java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)”,“com.aspose.slides.ShapeCollection.do(Unknown Source)”,“com.aspose.slides.ShapeCollection.do(Unknown Source)”,“com.aspose.slides.ShapeCollection.addOleObjectFrame(Unknown Source)”
We are using both aspose cell and aspose slides in the same project. Will that cause any issues?
*** Observation 3**
For point 3: we will add the details soon.