philburk / jsyn

Modular audio synthesizer library with unit generators in Java
http://www.softsynth.com/jsyn
Apache License 2.0
222 stars 60 forks source link

Ant build Failing due to slf4j dependency #101

Closed HialeahLiam closed 3 years ago

HialeahLiam commented 3 years ago

I cloned the project from Git and did the Ant setup: I went into the project folder and ran: ant. I then ran: java -jar dist/lib/jsyn-20210901.jar The program fails and outputs this error message : Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

I am running on an M1 MacBook Air running on Big Sur

philburk commented 3 years ago

I am seeing the same thing. I even have SLF4J in my libs folder.

I made the mistake of allow a dependency on SLF4J to ride in with a lot of other helpful changes. See #83 That dependency has caused lots of problems and has no apparent benefit. I will revert that dependency.