hi josh,
only the packages exported by the bundles or the ones specified as
bootclasspath (via sling.properties config) are visible by other
bundles and jsps. in this case it's a bit difficult, since the
crx-explorer stuff is not available as bundle and i doubt that it will
work. why would you need to CRXContext in a non-crx webapp ?

regards, toby

On 1/5/09, Joshua Oransky <[email protected]> wrote:
> Is there a reason I keep getting this error in my JSP sling templates?
>
>  org.apache.sling.scripting.jsp.jasper.JasperException:
> Unable to compile class for JSP: An error occurred at line: 1 in the jsp
> file: /apps/cms/admin/global/replicate.jsp
> com.day.crx.j2ee.CRXContext cannot be resolved to a type null
>
>  I've tried importing specifically, and even fully qualifying the class name
> in my JSP code, to no avail.
>
>  -Josh
>

Reply via email to