Document annotation demo project in Java Dropwizard

Hi,

I have tried to compile the example, but I get the following error:

Failed to execute goal on project groupdocs-annotation-dropwizard: Could not resolve dependencies for project com.groupdocs.samples:groupdocs-annotation-dropwizard:jar:1.5.0: The following artifacts could not be resolved: com.aspose:aspose-cells:jar:8.1.1, com.aspose:aspose-email:jar:4.3.0.0, com.aspose:aspose-imaging:jar:2.1.0.0, com.aspose:aspose-pdf:jar:9.1.0, com.aspose:aspose-slides:jar:8.4.0, com.aspose:aspose-words:jar:14.6.0, com.aspose:aspose-tasks:jar:6.8.0, com.aspose:aspose-diagram:jar:2.0.0: Failure to find com.aspose:aspose-cells:jar:8.1.1 in http://repository.springsource.com/maven/bundles/external was cached in the local repository, resolution will not be reattempted until the update interval of com.springsource.repository.bundles.external has elapsed or updates are forced → [Help 1]

the example was downloaded from GroupDocs website

my environment:

Windows7, Netbeans 8.0, Java 8

Hello, Alexey!


Sorry to hear you are getting the problem like this. Downloaded and checked examples from our site - there everything works ok.
Have you downloaded the GroupDocs.Annotation for Java library itself (http://groupdocs.com/Community/getting-started/java/document-annotation-java-library.aspx) and installed it into your local Maven repository as described here http://groupdocs.com/docs/display/annotationjava/GroupDocs.Annotation+for+Java±+Installation?

hi,

that did not help

The error stacktrace is:

C:\Users\schroedera85\Downloads\GroupDocs.Annotation_1.5.0_java\GroupDocs.Annotation_1.5.0_java\lib>mvn install:install-file -Dpackaging=jar -Dversion=1.5.0 -DgroupId=com.groupdocs -DartifactId=groupdocs-annotation -Dfile=GroupDocs.Annotation.jar
[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] — maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom
[INFO] Installing C:\Users\schroedera85\Downloads\GroupDocs.Annotation_1.5.0_java\GroupDocs.Annotation_1.5.0_java\lib\GroupDocs.Annotation.jar to C:\Users\schro
edera85.m2\repository\com\groupdocs\groupdocs-annotation\1.5.0\groupdocs-annotation-1.5.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.306 s
[INFO] Finished at: 2014-09-16T11:13:48+02:00
[INFO] Final Memory: 5M/286M
[INFO] ------------------------------------------------------------------------
C:\Users\schroedera85\Downloads\GroupDocs.Annotation_1.5.0_java\GroupDocs.Annotation_1.5.0_java\lib>cd C:\Users\schroedera85\Downloads\GroupDocs.Annotation_1.5.
0_java_samples\GroupDocs.Annotation_1.5.0_java_samples\samples\dropwizard

C:\Users\schroedera85\Downloads\GroupDocs.Annotation_1.5.0_java_samples\GroupDocs.Annotation_1.5.0_java_samples\samples\dropwizard>run

C:\Users\schroedera85\Downloads\GroupDocs.Annotation_1.5.0_java_samples\GroupDocs.Annotation_1.5.0_java_samples\samples\dropwizard>mvn compile exec:java
[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building GroupDocs Java Annotation - Sample Dropwizard 1.5.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.aspose:aspose-cells:jar:8.1.1 is missing, no dependency information available
[WARNING] The POM for com.aspose:aspose-email:jar:4.3.0.0 is missing, no dependency information available
[WARNING] The POM for com.aspose:aspose-imaging:jar:2.1.0.0 is missing, no dependency information available
[WARNING] The POM for com.aspose:aspose-pdf:jar:9.1.0 is missing, no dependency information available
[WARNING] The POM for com.aspose:aspose-slides:jar:8.4.0 is missing, no dependency information available
[WARNING] The POM for com.aspose:aspose-words:jar:14.6.0 is missing, no dependency information available
[WARNING] The POM for com.aspose:aspose-tasks:jar:6.8.0 is missing, no dependency information available
[WARNING] The POM for com.aspose:aspose-diagram:jar:2.0.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.462 s
[INFO] Finished at: 2014-09-16T11:14:34+02:00
[INFO] Final Memory: 6M/294M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project groupdocs-annotation-dropwizard: Could
not resolve dependencies for project com.groupdocs.samples:groupdocs-annotation
-dropwizard:jar:1.5.0: The following artifacts could not be resolved: com.aspose
:aspose-email:jar:4.3.0.0, com.aspose:aspose-imaging:jar:2.1.0.0, com.aspose:asp
ose-pdf:jar:9.1.0, com.aspose:aspose-slides:jar:8.4.0, com.aspose:aspose-words:j
ar:14.6.0, com.aspose:aspose-tasks:jar:6.8.0, com.aspose:aspose-diagram:jar:2.0.
0: Failure to find com.aspose:aspose-email:jar:4.3.0.0 in repository was cached in the local repository, resoluti
on will not be reattempted until the update interval of com.springsource.reposit
ory.bundles.external has elapsed or updates are forced → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

Sorry to see that you get this problem.

Probably it may be caused by the Maven local repository cache. To forse its update, please, go into your local repository folder of the GroupDocs.Annotation library
c:\Users%CURRENT_USER%.m2\repository\com\groupdocs\groupdocs-annotation</font>
and remove the 1.5.0 folder from there.
Then install the library back again (using installation command from the library of the GroupDocs.Annotation.jar file) and run the Dropwizard sample (using run.bat file or the “mvn compile exec:java” command).