Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4980

Java 6 compile error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.21
    • Fix Version/s: 2.0.22
    • Component/s: None
    • Labels:
      None

      Description

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile (default-compile) on project pdfbox-debugger: Compilation failure: Compilation failure:
      [ERROR] /home/simon/pdfbox_th_2/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java:[409,64] cannot find symbol
      [ERROR] symbol : variable ACCESS_EXTERNAL_DTD
      [ERROR] location: class javax.xml.XMLConstants
      [ERROR] /home/simon/pdfbox_th_2/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java:[410,64] cannot find symbol
      [ERROR] symbol : variable ACCESS_EXTERNAL_STYLESHEET
      [ERROR] location: class javax.xml.XMLConstants

       Java 6:

      [WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
      Requires at least Java 7, and
      Java versions higher than 11 cannot
      build Java 6 bytecode

      Java 7:

      [ERROR] Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.6.0:wget (PDFBOX-4038) on project fontbox: Execution PDFBOX-4038 of goal com.googlecode.maven-download-plugin:download-maven-plugin:1.6.0:wget failed: Unable to load the mojo 'wget' in the plugin 'com.googlecode.maven-download-plugin:download-maven-plugin:1.6.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com/googlecode/download/maven/plugin/internal/WGet : Unsupported major.minor version 52.0

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              ssteiner Simon Steiner
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: