[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project mysite.ui.apps: Compilation failure
[ERROR] /C:/AEMProjects/Projects/mysite/mysite/ui.apps/target/generated-sources/htl/org/apache/sling/scripting/sightly/apps/mysite/components/author__002d__books/author__002d__books_html.java:[43,65] cannot find symbol
[ERROR] symbol: class AuthorBooks
[ERROR] location: package com.mysite.core.models
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @vkl1
I guess you are trying to build code and this error is appearing in the console.
It appears you have a component (author__002d__books), which is looking for a Model com.mysite.core.models.AuthorBooks
Requesting you to please verify, if its present in the code.
If its available, please confirm that core module is building before ui.apps.
Hello @vkl1
I guess you are trying to build code and this error is appearing in the console.
It appears you have a component (author__002d__books), which is looking for a Model com.mysite.core.models.AuthorBooks
Requesting you to please verify, if its present in the code.
If its available, please confirm that core module is building before ui.apps.
Its a compilation issue. Please check if class AuthorBooks is present or not.
If its present also check author component if correct path of AuthorBooks is mentioned or not.
@vkl1 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies