Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3042

org.apache.sling.scripting.api should not export javax.script anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Scripting API 2.1.4
    • Scripting API 2.1.6
    • Scripting
    • None

    Description

      Installing the current org.apache.sling.scripting.api trunk bundle on a launchpad/testing instance causes this error:

      org.apache.sling.scripting.core.impl.ScriptEngineManagerFactory Cannot register ScriptEngineFactory org.codehaus.groovy.jsr223.GroovyScriptEngineFactory
      java.lang.ClassCastException: org.codehaus.groovy.jsr223.GroovyScriptEngineFactory cannot be cast to javax.script.ScriptEngineFactory

      And .groovy scripts are not recognized anymore, though .gsp still works.

      Attachments

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: