while creating a new project i am un able to see existing components. | Community
Skip to main content
Level 2
February 20, 2023
Solved

while creating a new project i am un able to see existing components.

  • February 20, 2023
  • 1 reply
  • 1752 views

Compilation errors in org/apache/sling/scripting/sightly/apps/core/wcm/components/commons/editor/dialog/inherited/v1/inherited/render_html.java: Line 39, column 2543 : com.adobe.cq.wcm.core.components.commons.editor.dialog.inherited.InheritedField cannot be resolved to a type

Cannot serve request to /mnt/overlay/wcm/core/content/sites/properties.html in /libs/granite/ui/components/foundation/form/field/field.jsp

Exception:

org.apache.sling.scripting.sightly.SightlyException: Compilation errors in org/apache/sling/scripting/sightly/apps/core/wcm/components/commons/editor/dialog/inherited/v1/inherited/render_html.java:
Line 39, column 2543 : com.adobe.cq.wcm.core.components.commons.editor.dialog.inherited.InheritedField cannot be resolved to a type

Can you please help me to solve this issue. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Prince_Shivhare

Hey,

Can you make sure if the dependency is added in project pom.xml ?

https://mvnrepository.com/artifact/com.adobe.cq/core.wcm.components.core/2.22.0

 

<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
<scope>test</scope>
</dependency>  

 

1 reply

Prince_Shivhare
Community Advisor
Prince_ShivhareCommunity AdvisorAccepted solution
Community Advisor
February 20, 2023

Hey,

Can you make sure if the dependency is added in project pom.xml ?

https://mvnrepository.com/artifact/com.adobe.cq/core.wcm.components.core/2.22.0

 

<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
<scope>test</scope>
</dependency>  

 

Level 2
February 20, 2023

yes it was not there in my pom. I added this in my pom dependency. again i build that project  still components are not coming.. and one more thing it this was worked after removing this scope tag.. 

<scope>provided</scope>

what to do now..?

July 25, 2024

Hi @vardhan218  did you get a solution for this, I am facing the same issue.