Adobe-Marketing-Cloud / aem-guides-wknd

Steps to create a website with Adobe Experience Manager (AEM)
https://helpx.adobe.com/experience-manager/kt/sites/using/getting-started-wknd-tutorial-develop.html
75 stars 68 forks source link

Unresolved dependencies on fresh AEM 6.3.1 #12

Closed dmitry-cherkas closed 6 years ago

dmitry-cherkas commented 6 years ago

Steps to reproduce:

  1. Install AEM 6.3
  2. Install AEM 6.3 SP1
  3. Download sources from https://github.com/Adobe-Marketing-Cloud/aem-guides-wknd/releases (link at the bottom of the page https://helpx.adobe.com/experience-manager/kt/sites/using/getting-started-wknd-tutorial-develop/part5.html)
  4. Build/deploy project
  5. Open http://localhost:4512/editor.html/content/wknd/en.html

Expected: page contents is rendered Actual: page contents not rendered, white screen

Additional details: image

image

godanny86 commented 6 years ago

it looks like Core Components 2.0 did not get installed correctly. Can you check Package Manager to see if they got uploaded? /crx/packmgr/index.jsp

godanny86 commented 6 years ago

actually reviewing your setup you need FP-20593 In addition to SP1. This is mentioned in PT1 but I will update the overview as well. Let me know if this fixes the issue.

dmitry-cherkas commented 6 years ago

Hi, @godanny86 , thanks for the hint. I've installed FP-20593 but it seems that it made things even worse (see complete log attached): error.log

Are there some other prerequisites I'm missing?

godanny86 commented 6 years ago

Ah do you have Java 1.8? I'm seeing this in the logs Unresolved requirements: [[com.adobe.cq.core.wcm.components.core [517](R 517.1)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]

dmitry-cherkas commented 6 years ago

Well, I might have messed up with JAVA_HOME. Now that I verified, I'm running on 1.8 there is only one unresolved dependency left (not directly related to this tutorial, but just for reference):

13.02.2018 17:45:27.881 *ERROR* [FelixStartLevel] ERROR: Bundle '519' Error starting jcrinstall:/apps/weretail/install/we.retail.core-2.0.2.jar (org.osgi.framework.BundleException: Unable to resolve com.adobe.cq.sample.we.retail.core [519](R 519.0): missing requirement [com.adobe.cq.sample.we.retail.core [519](R 519.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.cq.wcm.core.components.models.form)(version>=13.0.0)(!(version>=14.0.0))) Unresolved requirements: [[com.adobe.cq.sample.we.retail.core [519](R 519.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.cq.wcm.core.components.models.form)(version>=13.0.0)(!(version>=14.0.0)))])
org.osgi.framework.BundleException: Unable to resolve com.adobe.cq.sample.we.retail.core [519](R 519.0): missing requirement [com.adobe.cq.sample.we.retail.core [519](R 519.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.cq.wcm.core.components.models.form)(version>=13.0.0)(!(version>=14.0.0))) Unresolved requirements: [[com.adobe.cq.sample.we.retail.core [519](R 519.0)] osgi.wiring.package; (&(osgi.wiring.package=com.adobe.cq.wcm.core.components.models.form)(version>=13.0.0)(!(version>=14.0.0)))]
        at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4112)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2118)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1372)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
        at java.lang.Thread.run(Thread.java:748)
13.02.2018 17:45:30.962 *INFO * [main] Startup completed

Looks like we.retail has a dependency on core.components v1.

As initial issue is now resolved, I'm closing the ticket. @godanny86 , thanks for your help!

godanny86 commented 6 years ago

No problem. Thanks for opening the issue @dmitry-cherkas! I expect a core.components v2 version of We.Retail will be released very soon.