[
https://issues.apache.org/jira/browse/PDFBOX-4980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-4980.
----------------------------------------
Assignee: Andreas Lehmkühler
Resolution: Fixed
[~tilman] your changes fixed the issue. IMHO your compromise about using
JAVA_HOME to address another JDK is sufficient
> Java 6 compile error
> --------------------
>
> Key: PDFBOX-4980
> URL: https://issues.apache.org/jira/browse/PDFBOX-4980
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.21
> Reporter: Simon Steiner
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 2.0.22
>
>
> [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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]