Free Support Forum - groupdocs.com

Document conversion sample code in Java

Hello,


It’s been years since I’ve built anything with Java, but am working on a project which requires getting the GroupDocs java examples running locally. I have Eclipse & Maven installed, but can’t seem to import the pom.xml file.

Does anyone have a step-by-step guide of how to get the java examples running within Eclipse? I’ve fully reviewed the documentation on groupdocs.com, but am still stuck.

Thanks in advance,
Adam

Hello Adam,


Thanks for taking interest in Next Generation GroupDocs.Conversion for Java and posting your query.

Please follow the steps below in order to import example project of the API in eclipse.

<div class=“post-text” itemprop=“text” style=“margin: 0px 0px 5px; padding: 0px; border: 0px; font-size: 15px; width: 660px; word-wrap: break-word; line-height: 1.3; color: rgb(36, 39, 41); font-family: Arial, “Helvetica Neue”, Helvetica, sans-serif; background-color: rgb(255, 255, 255);”>
  1. Open eclipse
  2. Click File > Import
  3. Type Maven in the search box under Select an import source:
  4. Select Existing Maven Projects
  5. Click Next
  6. Click Browse and select the folder that is the root of the Maven project (probably contains the pom.xml file)
  7. Click OK
  8. Under Projects: click the checkbox next to the pom.xml file
  9. Click Finish
Further more, please have a look into following resources:


Best Wishes.