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

Free Support Forum - groupdocs.com

SpringBoot’s Maven plugin

Hello @ChourasiyaRajesh can you show your solution in image.png may be in text format(you .png solution have private access)? Thanks

@tsucanovkirill

Please find the image.png (2.5 KB) attached.

Hi @Atir_Tahir / @tsucanovkirill

Any leads to resolve this issue?

With reference to the link jar within a jar issue, we applied “requiresUnpack” solution to unpack groupdocs jar at runtime during pdf conversion rendering. However, this results in unnecessary increasing space in /tmp directory.

If we don’t apply “requiresUnpack”, at runtime we see “vendorName==null” issue at the time of registering Groupdocs’ custom native service providers while rendering to pdf (e.g., mostly if there are images in docx)

It seems, when groupdocs jar is within a jar, there is some issue while registering custom SPIs (Service Providers) with Java’s native IIOServiceProvider. We found this was somehow referring to Java’s lang “Package.java” where the Manifest’s entries were read.

Please let us know if you get any solution to this case.

Thank you
Rajesh Chourasiya

@ChourasiyaRajesh

This issue is still under investigation. However, you’ll be notified in case of any update.

Thanks a lot.

Hello can you show your full plagin with “requiresUnpack”?
Do you add the groupdocs dependency to your dependencies list?
Thanks.

Hello,

Yes we do add the dependency in our pom file as below:

<dependency>
   <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-conversion</artifactId>
</dependency>

And the version is managed by dependency management as

<groupdocs-conversion.version>21.10</groupdocs-conversion.version>

and

<dependency>
    <groupId>com.groupdocs</groupId>
     <artifactId>groupdocs-conversion</artifactId>
     <version>${groupdocs-conversion.version}</version>
 </dependency>

Spring Boot Maven Plugin

        <plugin>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-maven-plugin</artifactId>
            <version>${springframework.boot.version}</version>
            <executions>
                <execution>
                    <goals>
                        <goal>repackage</goal>
                    </goals>
                    <configuration>
                        <requiresUnpack>
                            <dependency>
                                <groupId>com.groupdocs</groupId>
                                <artifactId>groupdocs-conversion</artifactId>
                            </dependency>
                        </requiresUnpack>
                        <classifier>exec</classifier>
                    </configuration>
                </execution>
            </executions>
        </plugin>

Hi @Atir_Tahir / @tsucanovkirill

Please let us know if you get any solution to the issue.

Thank you
Rajesh Chourasiya

@ChourasiyaRajesh

CONVERSIONJAVA-1486 is still under investigation.