Skip to main content
claudios1073407
Level 2
Apr 26, 2016 11:04 AM UTC
Solved

Adobe CQ 5.6. SP2 error org.apache.sling.api.scripting.ScriptEvaluationException

Hi,

I hope that someone help me.

 Often when I working with CQ5, it returns the exception: 

org.apache.sling.api.scripting.ScriptEvaluationException

I try restart the bundles  Apache Sling Scripting JSP support, Apache Sling Dynamic Class Loader Support but not working.

Does anyone know this problme?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Tuhin_Ghosh
Tuhin_GhoshAccepted solution
Level 8
Apr 28, 2016 2:01 AM UTC

Hi Claudio,

The below is a similar kind of problem reported in stack overflow. Please take a look into it and see if this solves your problem.

http://stackoverflow.com/questions/23338390/jsp-does-not-compile-in-cq5

Thanks

Tuhin

5 replies

mkumar
Level 3
Apr 26, 2016 1:57 PM UTC

When are you facing this issue...?

There might me error code in the component that you are trying to load the page. 

Can u attach the stack-trace of the exception that you are getting.

Translate
smacdonald2008
Level 10
Apr 26, 2016 2:07 PM UTC

Are you seeing any weird behavior in AEM or are you only seeing log file? 

Translate
Ratna_Kumar
Level 10
Apr 26, 2016 2:23 PM UTC

This issue normally occurs due to compilation issue in JSP.

But, if you restart the bundles, Apache Sling Scripting JSP support, Apache Sling Dynamic Class Loader Support, it should work.

Refer this thread - https://forums.adobe.com/thread/1117916

Thanks,
Ratna Kumar.

Translate
Tuhin_Ghosh
Tuhin_GhoshAccepted solution
Level 8
Apr 28, 2016 2:01 AM UTC

Hi Claudio,

The below is a similar kind of problem reported in stack overflow. Please take a look into it and see if this solves your problem.

http://stackoverflow.com/questions/23338390/jsp-does-not-compile-in-cq5

Thanks

Tuhin

Translate
claudios1073407
Level 2
May 5, 2016 8:15 AM UTC

Hi,

I risolved in 3 steps:

1- restart the bundles, Apache Sling Scripting JSP support, Apache Sling Dynamic Class Loader Support (but not working) than,

2- Delete the nodes under /var/classes/org/apache/jsp/apps/[my_project]

 

Thanks

Translate