0x44656E6E79
0x44656E6E79

Reputation: 1063

XML Calabash MacOS gives SLF4J Error when running any xpl

I'm trying to install XML Calabash 1.3.2 on MacOS in order to use XPROC. I installed XML Calabash using brew:

brew install calabash

When I enter the following in the terminal:

calabash --version

It shows me the correct output of version 1.3.2 But, when I try to run any xpl file, I receive the following error:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

I tried to install SLF4J using MacPorts, but no success.

Does somebody know how to fix this?

Thanks a lot

Upvotes: 0

Views: 184

Answers (1)

Martin Kraetke
Martin Kraetke

Reputation: 16

The transpect framework comes with a ready-to-use XML Calabash distribution that includes shell scripts for Windows and Unix-like operating systems. The SL4J libraries are already included.

If you don't want to use this, then you need to include the libraries slf4j-simple and slf4j-api and add them to your classpath, e.g.:

java -cp "lib/slf4j-simple-1.7.36.jar:lib/slf4j-api-1.7.36.jar:(...)" \
  com.xmlcalabash.drivers.Main \
  (...) 

Upvotes: 0

Related Questions