[
https://issues.apache.org/jira/browse/PDFBOX-6021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-6021.
-------------------------------------
Resolution: Fixed
Note that one needs at least 11.0.27 for a build. Earlier jdk11 versions won't
work, and this includes the last publicly available oracle jdk11 version.
> Update log4j to 2.25.0 in trunk
> -------------------------------
>
> Key: PDFBOX-6021
> URL: https://issues.apache.org/jira/browse/PDFBOX-6021
> Project: PDFBox
> Issue Type: Task
> Components: Utilities
> Affects Versions: 4.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: graalvm, log4j2
> Fix For: 4.0.0
>
>
> When updating log4j to the latest version 2.25.0 I get this compiler error:
> Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.14.0:compile
> (default-compile) on project pdfbox-debugger: Fatal error compiling:
> java.lang.IllegalArgumentException: The `GraalVmProcessor` annotation
> processor is missing the required `log4j.graalvm.groupId` and
> `log4j.graalvm.artifactId` options.
> The generation of GraalVM reflection metadata for your Log4j Plugins will be
> disabled.
> This is likely related to DebugLogAppender and will need some changes:
> https://logging.apache.org/log4j/2.x/release-notes.html
> {quote}However, the processor will fail the build if the required
> log4j.graalvm.groupId and log4j.graalvm.artifactId parameters are not
> provided.{quote}
> more details here:
> https://logging.apache.org/log4j/2.x/manual/plugins.html#plugin-registry
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]