Run Spring demo for GroupDocs.Conversion

Hi,

I’m trying to run Spring demo for GroupDocs.Conversion, downloaded from your github.
Maven build fails, with error:
Could not find artifact org.openjfx:javafx.base:pom:11.0.0-SNAPSHOT
Where is this maven dependency hosted? I cannot find it on maven central repo.

Also, spring app won’t start - you can find error log in the attachment.
log.zip (2.4 KB)

@vmimic

Thank you for sharing log file. We’ll investigate this issue and return back to you.

1 Like

Hello @vmimic

Apologies for the delay in investigating your issue. We were unable to reproduce the problem on our side using JDK 1.8. To help us diagnose the issue, could you provide more details? Specifically, we’d like to know the versions of JDK and Maven you’re using, and whether you are running the sample with the mvn clean spring-boot:run command in the console or using an IDE.

Hi, no problem

Java: Open JDK 17.0.13
Maven: Apache Maven 3.8.6
Run: first I run command “mvn clean install”, then start the app from IDE (IntelliJ IDEA 2024.3 (Ultimate Edition))

Regards,
Vedran Mimic

@vmimic

We appreciate the extra details you shared. The issue has been successfully reproduced on our end, and ticket with ID: CONVERSIONJAVA-2492 has been logged to resolve it. We’ll keep you informed as soon as there are any updates.

@vmimic

We’ve made some changes to the attached pom.xml and application.properties (located in src → main → resources) files . Could you please update them on your side and recheck the issue? If the issue persists, could you kindly provide the full log file from your IDE console?
pom.zip (2.4 KB)

What version should I use now?
The one I used when I reported the issue is 24.8

Regards,
Vedran Mimic

@vmimic

We’ve updated the pom.xml to the latest version of GroupDocs.Conversion for Java 24.11 and recommend using it. However, the issue you encountered is not fundamentally related to the version of our product, so the choice is entirely up to you.

But if I still use GroupDocs.Conversion for Java v24.8, I’d still be able to reproduce the issue, right?
pom.xml is always part of some specific version, and I don’t think you’ve edited pom.xml for the version 24.8 retroactively.
Am I missing something?

Regards,
Vedran Mimic

I’ve downloaded zip file from here
https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java?tab=readme-ov-file
and I’m still getting the same error: Could not find artifact org.openjfx:javafx.base:pom:11.0.0-SNAPSHOT

@vmimic

Apologies for the confusion. We updated the GroupDocs.Conversion for Java version to the latest available and also upgraded the org.springframework.boot plugin version and its dependencies. Please share the complete IDE console log so we can better examine your situation, as the changes we provided in the two files (pom.zip) resolved this issue on our side.

How can I get the updated version of GroupDocs.Conversion for Java, Spring demos?

It seems that this github link https://github.com/groupdocs-conversion/GroupDocs.Conversion-for-Java?tab=readme-ov-file still contains the old code, so using that code, I’m still getting the same error as when I reported the issue.

Trying maven reload from IntelliJ, I’m getting this output:
image.png

with accompanying error message: Cannot resolve org.openjfx:javafx.base:11.0.0-SNAPSHOT

Hello @vmimic

We have attached a link to the updated Spring sample in this post. Please download it and try running it in your IDE. For additional testing, execute it from the terminal using the command: mvn clean spring-boot:run. If the issue persists, kindly share the terminal log with us. We are looking forward to your feedback.

Spring sample link.

Sorry for misunderstanding.
With updated application.properties and pom.xml files, it seems it is working fine (at least demo app can start with command mvn clean spring-boot:run)
Thanks!

@vmimic

We’re glad that you were able to resolve your issue. We will update the Spring sample on GitHub soon to prevent this problem in the future. Thank you, and please don’t hesitate to reach out with any additional questions!

1 Like