Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21552

Failed to execute the [groovy] macro error when creating an AWM on XWiki 14.10.19 using Java 21

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • 14.10.20
    • 14.10.19
    • App Within Minutes
    • Windows 11 Pro, Firefox 119, using a local instance of XWiki 14.10.19 on MariaDB 11.1, Tomcat 9.0.82 and Jetty/HSQLDB
    • Unknown

    Description

      Steps to reproduce

      1. Start XWiki 14.10.19 (tested both on Jetty/HSQLDB and Tomcat 9.0.82) with Java 21 (I've used the one from Oracle)
      2. Login as Admin
      3. Click on 'More Applications > Create your own!'
      4. Click 'Create Application' button
      5. Fill in an app name
      6. Click 'Next Step' button

      Expected results

      The user is advanced to Step 2 without any errors.

      Actual results

      On Step 2, there is the following error:

      Failed to execute the [groovy] macro. Cause: [Unsupported class file major version 65]. Click on this message for details.

      The issue seems to not reproduce on XWiki 15.5.3 or 15.19 with Java 21 and it also doesn't reproduce on any XWiki version with Java 17.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: