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

Fail to build xwiki-platform-icon-rest-api with Java 11+

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.4
    • Fix Version/s: 13.5-rc-1
    • Labels:
    • Environment:
      Java 11
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ xwiki-platform-icon-rest-api ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 5 source files to /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/classes
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[14,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[15,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[16,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[17,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[18,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[43,2] cannot find symbol
        symbol: class XmlAccessorType
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[44,2] cannot find symbol
        symbol: class XmlType
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[48,2] cannot find symbol
        symbol: class XmlRootElement
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[11,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[12,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[13,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[14,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[42,2] cannot find symbol
        symbol: class XmlAccessorType
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[43,2] cannot find symbol
        symbol: class XmlType
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/ObjectFactory.java:[11,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/ObjectFactory.java:[28,2] cannot find symbol
        symbol: class XmlRegistry
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[43,18] cannot find symbol
        symbol: variable XmlAccessType
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[42,18] cannot find symbol
        symbol: variable XmlAccessType
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icons.java:[51,6] cannot find symbol
        symbol:   class XmlElement
        location: class org.xwiki.icon.rest.model.jaxb.Icons
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[52,6] cannot find symbol
        symbol:   class XmlElement
        location: class org.xwiki.icon.rest.model.jaxb.Icon
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[54,6] cannot find symbol
        symbol:   class XmlElement
        location: class org.xwiki.icon.rest.model.jaxb.Icon
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/Icon.java:[56,6] cannot find symbol
        symbol:   class XmlElement
        location: class org.xwiki.icon.rest.model.jaxb.Icon
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/package-info.java:[8,27] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/vmassol/dev/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-rest/xwiki-platform-icon-rest-api/target/generated-sources/xjc/org/xwiki/icon/rest/model/jaxb/package-info.java:[8,125] package javax.xml.bind.annotation does not exist
      [INFO] 24 errors 
      
      

        Attachments

          Activity

            People

            Assignee:
            vmassol Vincent Massol
            Reporter:
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: