You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/09/09 11:35:51 UTC

[jira] [Resolved] (SLING-3046) JSP script engine does not start: jasper JspFactoryImpl and JspApplicationContextImpl classes not found

     [ https://issues.apache.org/jira/browse/SLING-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-3046.
----------------------------------------

    Resolution: Fixed

Fixed in http://svn.apache.org/r1521014 - the pom declared the org.apache.sling.scripting.jsp.jasper.runtime package as exported and !private, which maven-bundle-plugin 2.4.0 apparently interprets differently than previous versions.

As a result, the classes from that package were missing from the bundle - I have removed the !private statement which is not useful anyway IMO.

All integration tests pass now.


                
> JSP script engine does not start: jasper JspFactoryImpl and JspApplicationContextImpl classes not found
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-3046
>                 URL: https://issues.apache.org/jira/browse/SLING-3046
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> Activating the org.apache.sling.scripting.jsp bundle causes:
> org.apache.sling.scripting.jsp [org.apache.sling.scripting.jsp.JspScriptEngineFactory] 
> The activate method has thrown an exception 
> (java.lang.NoClassDefFoundError: org/apache/sling/scripting/jsp/jasper/runtime/JspFactoryImpl)
> and same for
> org/apache/sling/scripting/jsp/jasper/runtime/JspApplicationContextImpl

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira