While Setting up Content Fragment Model in AEM 6.3 and using the content reference Model, I am getting below Java exception in Error log.
I tried to follow following article,
Compilation and classloading errors in custom application
Still getting the issue, has someone come across this issue, please share your thoughts.
Line 114, column 4844 : The method evaluate(Object) of type new Predicate(){} must override a superclass method
Line 132, column 5667 : The method compare(Resource, Resource) of type new Comparator<Resource>(){} must override a superclass method
Line 164, column 6736 : The method transform(Object) of type new Transformer(){} must override a superclass method
Line 191, column 7631 : The method evaluate(Object) of type children.FolderPredicate must override a superclass method
Line 208, column 8089 : The method evaluate(Object) of type children.HierarchyPredicate must override a superclass method
Line 225, column 8553 : The method evaluate(Object) of type children.NoSystemPredicate must override a superclass method
Line 242, column 9064 : The method evaluate(Object) of type children.HierarchyNotFilePredicate must override a superclass method
Line 282, column 10387 : The method transform(Object) of type new Transformer(){} must override a superclass method
Solved! Go to Solution.
This Issue is resolved.
Root Cause: "Apache Sling Java Script Handler" was configured with Source & Target VM with 1.5 which was causing compilation of inline java file against Java 1.5 and throwing the Error. After updating values to auto compilation errors are not there.
Thank you,
It can be caused by :
Here is the KB article for this:- Compilation and classloading errors in custom application
Views
Replies
Total Likes
Hi Kautak,
I already went through the article as I mentioned in question and verified the areas as per article but issue did not get resolved,
Views
Replies
Total Likes
Can you please check this:
Go to crx/de
2) Comment out the @override annotations in children.java [1] on lines 91 and 127
in
Line 114, column 4844 : The method evaluate(Object) of type new Predicate(){} must override a superclass method
Line 132, column 5667 : The method compare(Resource, Resource) of type new Comparator<Resource>(){} must override a superclass method
Line 164, column 6736 : The method transform(Object) of type new Transformer(){} must override a superclass method
Line 191, column 7631 : The method evaluate(Object) of type children.FolderPredicate must override a superclass method
Line 208, column 8089 : The method evaluate(Object) of type children.HierarchyPredicate must override a superclass method
Line 225, column 8553 : The method evaluate(Object) of type children.NoSystemPredicate must override a superclass method
Line 242, column 9064 : The method evaluate(Object) of type children.HierarchyNotFilePredicate must override a superclass method
Line 282, column 10387 : The method transform(Object) of type new Transformer(){} must override a superclass method
3) Save
This could be a bug in 6.3. Please create a support ticket after trying out.
Views
Replies
Total Likes
This Issue is resolved.
Root Cause: "Apache Sling Java Script Handler" was configured with Source & Target VM with 1.5 which was causing compilation of inline java file against Java 1.5 and throwing the Error. After updating values to auto compilation errors are not there.
Thank you,
Views
Likes
Replies