Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 7

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

View solution in original post

5 Replies

Avatar

Level 3

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.

Avatar

Level 10

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

Avatar

Level 10

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.

Avatar

Correct answer by
Level 7

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

Avatar

Level 2

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