ikvmnet / ikvm-maven

Support for adding dependencies on Maven artifacts to .NET projects, using IKVM.
MIT License
50 stars 5 forks source link

Unhandled exception in SLF4J #32

Closed maxim1um closed 1 year ago

maxim1um commented 1 year ago

Hi, I'm newer to IKVM.

I do a simple demo for testing poi-tl working performance in IKVM, but When I ran my demo, I got some exceptions from SLF4J. I already check the output dir, "org.slf4j.dll" is contained. And the pom.xml of poi-tl also contains the slf4j dependency. So I'm confused about the exception now and don't know how to fix these exceptions.

Here is the console output

image

And this is the terminal output

image

My test demo is

https://github.com/maxim1um/ikvm-test.git

wasabii commented 1 year ago

I'm not sure there is an error here. Am I wrong that this is the expected output of referencing a library that depends on SLF4J without including some logger implementation?

maxim1um commented 1 year ago

I'm not sure there is an error here. Am I wrong that this is the expected output of referencing a library that depends on SLF4J without including some logger implementation?

Yes, you're right. I did a simple maven test with poi-tl only on Java, and the warning still existed. It needs to import some logger packages and the logger implementation.

Anyway, thx