Free Support Forum - groupdocs.com

When i add the GroupDocs.Viewer.jar in my project it gave me "corrupted jar" in trial version


#1

I do all the steps in your documentation

1- install maven
2-run the command
3-i integrate the viewer for java into java web project in netbeans like in the next link: http://groupdocs.com/docs/display/viewerjava/GroupDocs.Viewer+for+Java+-+Integrating+with+Java+Web
4- in step i which i add the GroupDocs,Viewer.java , it gave me error message that the jar is corrupted

i want to know what is the issue ,and how can i fix it ?
thank you ,

#2
Hello,

Thank you for interest in GroupDocs. Sorry to see you have this problem. We’ve checked the library and provided samples – everything seems to be ok. Please, make sure you’ve got the latest version of the GroupDocs.Viewer for Java library (http://groupdocs.com/Community/files/9/java-libraries/groupdocs_viewer_for_java/entry3896.aspx) and the sample code is updated as well (https://github.com/groupdocs/groupdocs-viewer-java-web-sample).

In case you have everything ok with versions and the problem still is present, please specify steps to reproduce this error, as well provide info about your environment (OS, Java version, Servlet container and its version).

P.S. Actually, maven is not necessary for the sample you linked in the post. That one is build using Ant, if you are interested, you can check Spring and Dropwizard samples. They are built with maven.