AEM WKND Tutorial Setup Errors | Community
Skip to main content
Level 2
Mar 23, 2018 3:46 PM UTC
Solved

AEM WKND Tutorial Setup Errors

Hi, hope someone can help me out with this.

I'm currently following along with the WKND tutorial, at the project setup stage.

Getting Started with AEM Sites Part 1 - Project Setup

On step 4 "Build Your Project" I typed in the following commands:

$ cd aem-guides-wknd

$ mvn -PautoInstallPackage clean install

But I get the following errors:

[INFO] Reactor Summary:

[INFO]

[INFO] WKND Sites Project - Reactor Project 0.0.1-SNAPSHOT  SUCCESS [  0.102 s]

[INFO] WKND Sites Project Bundle .......................... FAILURE [  0.320 s]

[INFO] WKND Sites Project Content Package 0.0.1-SNAPSHOT .. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1.250 s

[INFO] Finished at: 2018-03-23T11:36:57-04:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.20.0:scr (generate-scr-descriptor) on project wknd-sites-guide.core: Execution generate-scr-descriptor of goal org.apache.felix:maven-scr-plugin:1.20.0:scr failed: org.apache.felix.scrplugin.annotations.AnnotationProcessor is not an ImageIO SPI class -> [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:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :wknd-sites-guide.core

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Mar 23, 2018 8:46 PM UTC

I am testing the Lazybone one that i referenced.

I followed doc and imported it into Eclipse - NEON.

then following the docs - i build project

It was successfully built...

But before Maven will build projects using the Eclipse IDE - make sure you can build project using the Command line as described in the article i referenced in the previous reply.

15 replies

Level 2
Mar 23, 2018 7:16 PM UTC

Hi,

I am still getting the same errors with that command:

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Build Order:

[INFO]

[INFO] WKND Sites Project - Reactor Project                               [pom]

[INFO] WKND Sites Project Bundle                                       [bundle]

[INFO] WKND Sites Project Content Package                     [content-package]

[INFO]

[INFO] ---------------< com.adobe.aem.guides:wknd-sites-guide >----------------

[INFO] Building WKND Sites Project - Reactor Project 0.0.1-SNAPSHOT       [1/3]

[INFO] --------------------------------[ pom ]---------------------------------

[INFO]

[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ wknd-sites-guide ---

[INFO] Installing /Users/geoff.gunn/aem-guides-wknd/pom.xml to /Users/geoff.gunn/.m2/repository/com/adobe/aem/guides/wknd-sites-guide/0.0.1-SNAPSHOT/wknd-sites-guide-0.0.1-SNAPSHOT.pom

[INFO]

[INFO] -------------< com.adobe.aem.guides:wknd-sites-guide.core >-------------

[INFO] Building WKND Sites Project Bundle 0.0.1-SNAPSHOT                  [2/3]

[INFO] -------------------------------[ bundle ]-------------------------------

[INFO]

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ wknd-sites-guide.core ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /Users/geoff.gunn/aem-guides-wknd/core/src/main/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ wknd-sites-guide.core ---

[INFO] Nothing to compile - all classes are up to date

[INFO]

[INFO] --- maven-scr-plugin:1.20.0:scr (generate-scr-descriptor) @ wknd-sites-guide.core ---

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] WKND Sites Project - Reactor Project 0.0.1-SNAPSHOT  SUCCESS [  0.082 s]

[INFO] WKND Sites Project Bundle .......................... FAILURE [  0.309 s]

[INFO] WKND Sites Project Content Package 0.0.1-SNAPSHOT .. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1.223 s

[INFO] Finished at: 2018-03-23T15:15:36-04:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.20.0:scr (generate-scr-descriptor) on project wknd-sites-guide.core: Execution generate-scr-descriptor of goal org.apache.felix:maven-scr-plugin:1.20.0:scr failed: org.apache.felix.scrplugin.annotations.AnnotationProcessor is not an ImageIO SPI class -> [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:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :wknd-sites-guide.core

Translate
Ratna_Kumar
Level 10
Mar 23, 2018 6:15 PM UTC

Hi,

Can you try building this command - mvn -PautoInstallPackage install ...

I do not see any setup errors for WKND sites. It works absolutely fine for me.

Thanks,

Ratna Kumar.

Translate
smacdonald2008
Level 10
Mar 23, 2018 6:15 PM UTC

Try mvn -PautoInstallPackage install

Also -- see if you can deploy this similar project -- Creating an Adobe Experience Manager project using Lazybones

Translate
Level 3
Apr 16, 2021 4:49 PM UTC
I see the same problem when moving code from java 8 to 11 in AEM 6.5
Translate