Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

WKND Tutorial - Model Message not displaying in Hello World Component

Avatar

Avatar
Validate 1
Level 1
marks16411289
Level 1

Likes

0 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
marks16411289
Level 1

Likes

0 likes

Total Posts

10 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
marks16411289
Level 1

23-03-2021

Screen Shot 2021-03-23 at 7.17.17 PM.png



The Model message is not generated, only property text content compared to the tutorial which it has. How do I get it to be displayed?

Edit:
Just some additional info:
@Bhuwan_B 
Core bundle is already active

Screen Shot 2021-03-24 at 11.41.18 AM.png


@asutosh_jena 
HelloWorldModel.java

Screen Shot 2021-03-24 at 11.53.37 AM.png

this was the code already inside the bundle.

in  helloworld.html

Screen Shot 2021-03-24 at 11.55.29 AM.png

 

and core/pom.xml

Screen Shot 2021-03-24 at 11.56.59 AM.png


error.log

 

 

 

24.03.2021 11:40:53.436 *ERROR* [qtp1336792384-2491] org.apache.felix.metatype Missing element AD in element OCD : bundle://d996d805-cb73-4036-a288-c316b6553368_424.0:0/OSGI-INF/metatype/com.adobe.social.integrations.livefyre.config.impl.LivefyreConfigProviderImpl.xml
24.03.2021 11:40:53.583 *ERROR* [qtp1336792384-2491] org.apache.felix.metatype Missing element AD in element OCD : bundle://d996d805-cb73-4036-a288-c316b6553368_448.0:0/OSGI-INF/metatype/com.adobe.cq.social.sync.impl.SyncManagerImpl.xml
24.03.2021 11:53:13.255 *ERROR* [FelixDispatchQueue] org.apache.sling.engine FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: javax/servlet/Filter)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
24.03.2021 11:53:13.261 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/osgi/service/event/EventHandler)
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 11:53:13.262 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: org.apache.sling.resourceresolver.impl.observation.OsgiObservationBridge (326)))
24.03.2021 11:53:13.266 *ERROR* [Background Update aem-guides-wknd.core (582)] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (582)BundleComponentActivator : Unexpected failure enabling component holder com.adobe.aem.guides.wknd.core.listeners.SimpleResourceListener (java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler)
java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 11:53:13.269 *ERROR* [Background Update aem-guides-wknd.core (582)] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (582)[com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask(3707)] :  Error during instantiation of the implementation object (java.lang.reflect.InvocationTargetException)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
24.03.2021 11:53:13.270 *ERROR* [FelixDispatchQueue] org.apache.sling.commons.scheduler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask (3707)))
24.03.2021 11:53:13.283 *ERROR* [FelixDispatchQueue] org.apache.sling.servlets.resolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/apache/sling/api/servlets/SlingSafeMethodsServlet)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/api/servlets/SlingSafeMethodsServlet
24.03.2021 11:57:59.952 *ERROR* [FelixDispatchQueue] org.apache.sling.engine FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: javax/servlet/Filter)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
24.03.2021 11:57:59.955 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/osgi/service/event/EventHandler)
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 11:57:59.958 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: org.apache.sling.resourceresolver.impl.observation.OsgiObservationBridge (326)))
24.03.2021 11:57:59.968 *ERROR* [Background Update aem-guides-wknd.core (582)] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (582)BundleComponentActivator : Unexpected failure enabling component holder com.adobe.aem.guides.wknd.core.listeners.SimpleResourceListener (java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler)
java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 11:57:59.971 *ERROR* [Background Update aem-guides-wknd.core (582)] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (582)[com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask(3716)] :  Error during instantiation of the implementation object (java.lang.reflect.InvocationTargetException)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
24.03.2021 11:57:59.986 *ERROR* [FelixDispatchQueue] org.apache.sling.commons.scheduler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask (3716)))
24.03.2021 11:57:59.994 *ERROR* [FelixDispatchQueue] org.apache.sling.servlets.resolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/apache/sling/api/servlets/SlingSafeMethodsServlet)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/api/servlets/SlingSafeMethodsServlet
24.03.2021 11:58:21.766 *ERROR* [FelixDispatchQueue] org.apache.sling.engine FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: javax/servlet/Filter)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
24.03.2021 11:58:21.769 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/osgi/service/event/EventHandler)
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 11:58:21.771 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: org.apache.sling.resourceresolver.impl.observation.OsgiObservationBridge (326)))
24.03.2021 11:58:21.772 *ERROR* [Background Update aem-guides-wknd.core (582)] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (582)BundleComponentActivator : Unexpected failure enabling component holder com.adobe.aem.guides.wknd.core.listeners.SimpleResourceListener (java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler)
java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 11:58:21.778 *ERROR* [Background Update aem-guides-wknd.core (582)] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (582)[com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask(3720)] :  Error during instantiation of the implementation object (java.lang.reflect.InvocationTargetException)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
24.03.2021 11:58:21.781 *ERROR* [FelixDispatchQueue] org.apache.sling.commons.scheduler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask (3720)))
24.03.2021 11:58:21.786 *ERROR* [FelixDispatchQueue] org.apache.sling.servlets.resolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/apache/sling/api/servlets/SlingSafeMethodsServlet)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/api/servlets/SlingSafeMethodsServlet
24.03.2021 12:06:27.809 *ERROR* [FelixDispatchQueue] org.apache.sling.engine FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: javax/servlet/Filter)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
24.03.2021 12:06:27.813 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/osgi/service/event/EventHandler)
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 12:06:27.814 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: org.apache.sling.resourceresolver.impl.observation.OsgiObservationBridge (326)))
24.03.2021 12:06:27.816 *ERROR* [Background Install /var/folders/2r/8dcbs47j11b3j5q4xtvf2z2h0000gp/T/install10494615035361203775.tmp] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (585)BundleComponentActivator : Unexpected failure enabling component holder com.adobe.aem.guides.wknd.core.listeners.SimpleResourceListener (java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler)
java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 12:06:27.818 *ERROR* [Background Install /var/folders/2r/8dcbs47j11b3j5q4xtvf2z2h0000gp/T/install10494615035361203775.tmp] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (585)[com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask(3729)] :  Error during instantiation of the implementation object (java.lang.reflect.InvocationTargetException)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
24.03.2021 12:06:27.819 *ERROR* [FelixDispatchQueue] org.apache.sling.commons.scheduler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask (3729)))
24.03.2021 12:06:27.831 *ERROR* [FelixDispatchQueue] org.apache.sling.servlets.resolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/apache/sling/api/servlets/SlingSafeMethodsServlet)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/api/servlets/SlingSafeMethodsServlet
24.03.2021 12:06:27.875 *ERROR* [FelixDispatchQueue] org.apache.sling.engine FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: javax/servlet/Filter)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
24.03.2021 12:06:27.880 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/osgi/service/event/EventHandler)
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 12:06:27.884 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: org.apache.sling.resourceresolver.impl.observation.OsgiObservationBridge (326)))
24.03.2021 12:06:27.887 *ERROR* [FelixFrameworkWiring] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (585)BundleComponentActivator : Unexpected failure enabling component holder com.adobe.aem.guides.wknd.core.listeners.SimpleResourceListener (java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler)
java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 12:06:27.894 *ERROR* [FelixFrameworkWiring] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (585)[com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask(3733)] :  Error during instantiation of the implementation object (java.lang.reflect.InvocationTargetException)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
24.03.2021 12:06:27.896 *ERROR* [FelixDispatchQueue] org.apache.sling.commons.scheduler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask (3733)))
24.03.2021 12:06:27.906 *ERROR* [FelixDispatchQueue] org.apache.sling.servlets.resolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/apache/sling/api/servlets/SlingSafeMethodsServlet)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/api/servlets/SlingSafeMethodsServlet
24.03.2021 12:08:17.286 *ERROR* [FelixDispatchQueue] org.apache.sling.engine FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: javax/servlet/Filter)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
24.03.2021 12:08:17.287 *ERROR* [Background Install /var/folders/2r/8dcbs47j11b3j5q4xtvf2z2h0000gp/T/install12426622461144331216.tmp] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (586)BundleComponentActivator : Unexpected failure enabling component holder com.adobe.aem.guides.wknd.core.listeners.SimpleResourceListener (java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler)
java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 12:08:17.290 *ERROR* [Background Install /var/folders/2r/8dcbs47j11b3j5q4xtvf2z2h0000gp/T/install12426622461144331216.tmp] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (586)[com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask(3742)] :  Error during instantiation of the implementation object (java.lang.reflect.InvocationTargetException)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
24.03.2021 12:08:17.303 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/osgi/service/event/EventHandler)
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 12:08:17.309 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: org.apache.sling.resourceresolver.impl.observation.OsgiObservationBridge (326)))
24.03.2021 12:08:17.311 *ERROR* [FelixDispatchQueue] org.apache.sling.commons.scheduler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask (3742)))
24.03.2021 12:08:17.320 *ERROR* [FelixDispatchQueue] org.apache.sling.servlets.resolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/apache/sling/api/servlets/SlingSafeMethodsServlet)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/api/servlets/SlingSafeMethodsServlet
24.03.2021 12:08:17.389 *ERROR* [FelixDispatchQueue] org.apache.sling.engine FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: javax/servlet/Filter)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/Filter
24.03.2021 12:08:17.395 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/osgi/service/event/EventHandler)
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 12:08:17.395 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: org.apache.sling.resourceresolver.impl.observation.OsgiObservationBridge (326)))
24.03.2021 12:08:17.398 *ERROR* [FelixFrameworkWiring] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (586)BundleComponentActivator : Unexpected failure enabling component holder com.adobe.aem.guides.wknd.core.listeners.SimpleResourceListener (java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler)
java.lang.NoClassDefFoundError: org/osgi/service/event/EventHandler
24.03.2021 12:08:17.400 *ERROR* [FelixFrameworkWiring] aem-guides-wknd.core bundle aem-guides-wknd.core:0.0.1.SNAPSHOT (586)[com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask(3746)] :  Error during instantiation of the implementation object (java.lang.reflect.InvocationTargetException)
Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
24.03.2021 12:08:17.402 *ERROR* [FelixDispatchQueue] org.apache.sling.commons.scheduler FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory returned null. (Component: com.adobe.aem.guides.wknd.core.schedulers.SimpleScheduledTask (3746)))
24.03.2021 12:08:17.410 *ERROR* [FelixDispatchQueue] org.apache.sling.servlets.resolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: org/apache/sling/api/servlets/SlingSafeMethodsServlet)
Caused by: java.lang.NoClassDefFoundError: org/apache/sling/api/servlets/SlingSafeMethodsServlet
24.03.2021 15:19:59.887 *ERROR* [sling-default-1-com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask.2648] com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask Failed to validate URL http://www.adobe.com/go/marketingcloud_privacy: javax.net.ssl.SSLException: Operation timed out (Read failed)
24.03.2021 15:22:00.320 *ERROR* [sling-default-1-com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask.2648] com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask Failed to validate URL http://www.adobe.com/go/marketingcloud_terms_of_use: java.net.SocketTimeoutException: Read timed out
24.03.2021 15:22:24.286 *ERROR* [sling-default-1-com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask.2648] com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask Failed to validate URL https://marketing.adobe.com/resources/help/en_US/home/: javax.net.ssl.SSLException: Operation timed out (Read failed)
24.03.2021 17:20:08.248 *ERROR* [sling-default-2-com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask.2648] com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask Failed to validate URL http://www.adobe.com/go/marketingcloud_privacy: javax.net.ssl.SSLException: Operation timed out (Read failed)
24.03.2021 17:22:08.267 *ERROR* [sling-default-2-com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask.2648] com.day.cq.rewriter.linkchecker.impl.LinkCheckerTask Failed to validate URL https://marketing.adobe.com/resources/help/en_US/home/: java.net.SocketTimeoutException: Read timed out

 

 

 


Not sure if this is how I should share the error log. There seems to be a lot of error, I'm so confused.

I don't get why it is still not displaying.. Hope someone can find the answer here. Very much appreciated. Thanks!

Edit: 3/26/2021
Aligned AEM version and it worked. Previously had 6.5.5 my bad 

-D aemVersion="6.5"

 

View Entire Topic

Avatar

Avatar
Affirm 25
Level 5
Bhuwan_B
Level 5

Likes

89 likes

Total Posts

86 posts

Correct Reply

32 solutions
Top badges earned
Affirm 25
Establish
Give Back
Boost 50
Boost 5
View profile

Avatar
Affirm 25
Level 5
Bhuwan_B
Level 5

Likes

89 likes

Total Posts

86 posts

Correct Reply

32 solutions
Top badges earned
Affirm 25
Establish
Give Back
Boost 50
Boost 5
View profile
Bhuwan_B
Level 5

23-03-2021

@marks16411289 Check in the system console if the bundle is active. Try deleting your bundle and install it again. Go to your core directory and run this command:

mvn -PautoInstallBundle clean install