Deploy not load demo.docx

Hi everybody,

http://i.imgur.com/PQWT0S8.png
This is link after I deploy groupdocs-viewer example on github, please help me fix bug
I see in eclipse error “throws java.lang.Exception”
Thank you

Hi Phamvophong,


Thanks for showing your interest in our product.

We apologize that you are facing such an issue. We would like to get following details about your working environment:
  • Java version
  • IDE/Eclipse version
  • Operating system

Kind regards

Hi Muhammad Atir Tahir,

My projects using:
  • IDE/Eclipse version
Eclipse Java EE IDE for Web Developers.
Version: Mars.1 Release (4.5.1)
Build id: 20150924-1200
  • Java version
jre1.8.0_71
  • Operating system
Window 8 64 bit


All POST same link

POST http://localhost:8080//LoadFileBrowserTreeData 404 (Not Found)
I think isues here is “link” fail but i don’t know “How to edit”.
Please help me.
Two day I try build project but not success.
Thank.

Hi Phamvophong,


In order to reproduce your issue at our end, we would like to know the steps you followed to run the project.
Kindly share the steps you followed.

Thanks

Hi,

This is steps by steps I run demo.
The first, i download example from github link: http://www.groupdocs.com/java/document-viewer-library
After I import project and edit pom.xml

com.groupdocs
groupdocs-viewer
3.0.0
jar

After I run project then I get error in console : http://i.imgur.com/fNX4KPX.png

I do steps by steps in link : http://www.groupdocs.com/java/document-viewer-library

Hi Phamvophong,


We are sorry for the inconvenience, in fact we are resolving this Maven dependency issue.
Meanwhile, please follow the given steps to make project working:

  • Import GroupDocs.Viewer-for-Java-Front-End in Eclipse.
  • Download GroupDocs.Viewer for Java 3.0.0 from here.
  • Extract GroupDocs.Viewer.jar from lib folder. to C:\Users\UserName.m2\repository\com\groupdocs\viewer\grouodocs-viewer\3.0.0.
  • Rename the jar file, GroupDocs.Viewer to “groupdocs-viewer-3.0.0”(this will resolve java build path issues).
  • Set “_LicensePath” in ViewerController.java.
  • Later in eclipse : Window -> Preferences -> Java -> Installed JREs, select "jdk 1.8.0.9"
  • Right click on the project and got to: Run As -> Maven Build.
  • Set Goals -> “jetty:run”.
  • After successful build, in your browser type “localhost:8080/action”.

Hope this will resolve your issues, please try the above mentioned steps and share your experience, we are keen to hear from you.

Best wishes

Hi,
I do steps by steps you send me but when I run in Maven build throw error. In error on file attachment

Hi,
I don’t know set _licensePath
public String _licensePath = (System.getProperty(“user.dir”) + “\src\main\webapp\License\GroupDocs.Total.Java.lic”).replace("\", “/”);;

where GroupDocs.Total.Java.lic in? I don’t find file in my project

Hi Phamvophong,


If you do not have license file please comment the license code in ViewerController.java.
<table class=“highlight tab-size js-file-line-container” data-tab-size=“8” style=“box-sizing: border-box; border-spacing: 0px; border-collapse: collapse; tab-size: 8; color: rgb(51, 51, 51); font-family: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”; font-size: 13px; line-height: 18.2px; background-color: rgb(255, 255, 255);”><td id=“LC135” class=“blob-code blob-code-inner js-file-line” style=“box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; overflow: visible; font-family: Consolas, “Liberation Mono”, Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre;”>//License lic = new License();
//lic.setLicense(_licensePath);<td id=“L136” class=“blob-num js-line-number” data-line-number=“136” style=“box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; font-family: Consolas, “Liberation Mono”, Menlo, Courier, monospace; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, 0.298039); text-align: right; white-space: nowrap; vertical-align: top; cursor: pointer; -webkit-user-select: none; border-style: solid; border-color: rgb(238, 238, 238); border-width: 0px 1px 0px 0px;”><td id=“LC136” class=“blob-code blob-code-inner js-file-line” style=“box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; overflow: visible; font-family: Consolas, “Liberation Mono”, Menlo, Courier, monospace; font-size: 12px; word-wrap: normal; white-space: pre;”>
You will not face this exception.

Kind regards

Thank you, but I only see Unlicensed version of GroupDocs.Viewer for Java allows 15 views per hour :frowning:

Hi Phamvophong,


Thanks for sharing your experience.

As far as evaluation message is concerned, it will appear on each file view. In order to get rid of this tag/message you need to purchase license.

Thanks

Hi Phamvophong,


Thank you for your interest in GroupDocs products.

Adding more to my colleague, you can also request a temporary license to test the functionality of GroupDocs.Viewer in full mode. Please feel free to visit below page for details on getting a temporary license:

http://www.groupdocs.com/corporate/purchase/purchase-policies/temporary-license

Please give a try to GroupDocs products with a temporary license and let us know your feedback.

Best Regards