Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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>  

 

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

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>  

 

Avatar

Level 2

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

Avatar

Level 1

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