iManageDave opened a new issue, #1895: URL: https://github.com/apache/logging-log4j2/issues/1895
## Description My organization has developed a Log4J plugin that implements an [`EventResolver`](https://github.com/apache/logging-log4j2/blob/2.x/log4j-layout-template-json/src/main/java/org/apache/logging/log4j/layout/template/json/resolver/EventResolver.java). The plugin compiles with version 2.20.0 but not 2.21.0 due to it's newly added `module-info.java`. 2.21.0's `module-info.java` is a welcome addition; however, it exports `EventResolver` but not [`JsonWriter`](https://github.com/apache/logging-log4j2/blob/2.x/log4j-layout-template-json/src/main/java/org/apache/logging/log4j/layout/template/json/util/JsonWriter.java) which is referenced by the [`TemplateResolver<V>`](https://github.com/apache/logging-log4j2/blob/2.x/log4j-layout-template-json/src/main/java/org/apache/logging/log4j/layout/template/json/resolver/TemplateResolver.java) super-interface. This results in a compilation error. ## Configuration **Version:** 2.21.0 **Operating system:** Ubuntu 22.04 **JDK:** OpenJDK Runtime Environment Temurin-17.0.8.1+1 (build 17.0.8.1+1) ## Logs ``` [ERROR] /home/dave/src/log4j-datamessage-plugin/src/main/java/com/imanage/logging/log4j/layout/template/json/resolver/DataMessageResolver.java:[7,53] package org.apache.logging.log4j.layout.template.json.util is not visible [ERROR] (package org.apache.logging.log4j.layout.template.json.util is declared in module org.apache.logging.log4j.layout.template.json, which does not export it) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
