google / ksp

Kotlin Symbol Processing API
https://github.com/google/ksp
Apache License 2.0
2.83k stars 265 forks source link

Support for Log4J2? #1629

Open awallat opened 10 months ago

awallat commented 10 months ago

I was trying to use KSP with a Log4j2 Plugin, that I wrote for a custom appender. Unfortunately it's not working and the following error appears:

[ksp] No providers found in processor classpath.

In the dependencies-section I have

ksp 'org.apache.logging.log4j:log4j-core:2.22.0'

Is it actually possible to use annotation processing with KSP for Log4j2?

neetopia commented 10 months ago

what do you mean support for log4j2? The error message suggests KSP is applied but no processor provider was found in class path, have you added correct KSP processor providers to the processor jar?