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 24, 2018 9:57 PM UTC

Adding a screenshot of error logs.

Translate
Level 2
Mar 24, 2018 9:51 PM UTC

That helped - thank you.

But now on the "Add Structural Components to the Page" stage - there is no prompt after clicking the policy icon. The screen flashes, but no prompt appears.

Translate
smacdonald2008
Level 10
Mar 24, 2018 9:35 PM UTC

To create an editable template when following this article - install the package shown in the article --

Translate
Level 2
Mar 24, 2018 8:56 PM UTC

I made some great progress! I was able to deploy successfully (following this guide: Creating an Adobe Experience Manager project using Lazybones ). However, I am unable to get to the stage where I create an editable template. I've attached a couple screenshots.

Unable to pick template type.

Children do indeed exist.

Translate
Level 2
Mar 24, 2018 6:59 PM UTC

I followed the building Maven 11 Archetype project article you posted, but I'm still getting build errors. However, it appears that Maven is set up alright on my end:

Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T14:49:05-05:00)

Maven home: /Users/myName/apache-maven-3.5.3

Java version: 10, vendor: Oracle Corporation

Java home: /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home

Default locale: en_CA, platform encoding: UTF-8

OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"

Translate
smacdonald2008
Level 10
Mar 23, 2018 9:49 PM UTC

Please try building the Maven 11 Archetype project using Maven and the command line. Let us know where you are successful. I suspect the issue is with your DEV setup.

Translate
Level 2
Mar 23, 2018 9:20 PM UTC

Thank you for your guidance. I'm still running into errors but will ensure I've covered everything on my end. Much appreciated.

Translate
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.

Translate
smacdonald2008
Level 10
Mar 23, 2018 8:17 PM UTC

It looks like you have not properly setup your Maven - can you compile some of the basic articles - like this one: Scott's Digital Community: Creating an Adobe Experience Manager 6.3 Project using Adobe Maven Archetype 11

Translate
Level 2
Mar 23, 2018 8:11 PM UTC

I followed that guide and received the the following error:

[INFO] Reactor Summary:

[INFO]

[INFO] My AEM Project - Reactor Project ................... SUCCESS [  0.085 s]

[INFO] My AEM Project Bundle .............................. FAILURE [  0.310 s]

[INFO] My AEM Project Content Package ..................... SKIPPED

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

[INFO] BUILD FAILURE

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

[INFO] Total time: 1.359 s

[INFO] Finished at: 2018-03-23T16:05:49-04:00

[INFO] Final Memory: 13M/57M

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

[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.20.0:scr (generate-scr-descriptor) on project example-project.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 :example-project.core

Translate