Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException on custom ThrowableRenderer #68

Open
phejl opened this issue Oct 6, 2023 · 0 comments
Open

ClassNotFoundException on custom ThrowableRenderer #68

phejl opened this issue Oct 6, 2023 · 0 comments

Comments

@phejl
Copy link

phejl commented Oct 6, 2023

I think the regression in not consulting TCCL (#62) was not fixed completely. Perhaps just resources and not classes were taken in mind.

It seems due to that the custom ThrowableRenderer can't be loaded in 1.2.25.

Error java.lang.ClassNotFoundException: custom.log.CustomFilteredThrowableRenderer
| Error 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
| Error 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
| Error 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
| Error 	at java.base/java.lang.Class.forName0(Native Method)
| Error 	at java.base/java.lang.Class.forName(Class.java:315)
| Error 	at org.apache.log4j.helpers.Loader.loadClass(Loader.java:159)
| Error 	at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:299)
| Error 	at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:122)
| Error 	at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:636)
| Error 	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:493)
| Error 	at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:552)
| Error 	at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:412)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant