I added an entry in resource resolver factory and saved it. If i access any page based on new rule i am getting below error
Caused by: org.apache.sling.scripting.sightly.SightlyException: Cannot find class apps.sling.servlet.errorhandler.ResponseStatus.
at org.apache.sling.scripting.sightly.impl.compiler.SightlyJavaCompilerService.getInstance(SightlyJavaCompilerService.java:126)
at org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider.getPOJOFromRepository(JavaUseProvider.java:125)
at org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider.provide(JavaUseProvider.java:112)
at org.apache.sling.scripting.sightly.impl.engine.extension.use.UseRuntimeExtension.call(UseRuntimeExtension.java:87)
... 158 common frames omitted
In browser
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
ok, so you do these activities:
Is this correct?
(Why do you create a mapping on an authoring environment?)
kind regards,
Jörg
Views
Replies
Total Likes
Please post the code you are using so the community can view it. This will help community members providing help.
Views
Replies
Total Likes
Hi
can you be more specific, what entry you have added to the (OSGI config?) of the resource resolver factory?
kind regards,
Jörg
Views
Replies
Total Likes
Hi
Adding some components to page crashes the page. It creates a node in resource resolver mapping path. After deleting the node it works fine
For example if i create a mapping /content/my/support:/
Creating a page under /content/my/support/consumer/home will work fine. Adding a buggy component creates a node /consumer/home in root path of crx. After deleting it works fine
Views
Replies
Total Likes
Hi,
ok, so you do these activities:
Is this correct?
(Why do you create a mapping on an authoring environment?)
kind regards,
Jörg
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies