Floodgate
Floodgate copied to clipboard
Installing floodgate-mysql-database creates SLF4J errors on startup (Velocity)
After installing and configuring floodgate-mysql-database.jar
for a local linking database, I get the following error in console every startup:
[02:34:26 ERROR]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[02:34:26 ERROR]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[02:34:26 ERROR]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
I have tried downloading slf4j-simple-2.0.7.jar
and passing -classpath <jar dir>/slf4j-simple-2.0.7.jar
on startup, but it does not resolve this issue. A quick google search indicates it may be an issue with specifying dependencies when compiling floodgate-mysql-database.jar
.
System information
Velocity version: 3.2.0-SNAPSHOT (git-bda1430d-b259)
Floodgate version: 2.2.2-SNAPSHOT (b59-2278589)
floodgate-mysql-database version: downloaded from build 88 on Jenkins
Java version:
openjdk version "17.0.7" 2023-04-18 LTS
OpenJDK Runtime Environment Corretto-17.0.7.7.1 (build 17.0.7+7-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.7.7.1 (build 17.0.7+7-LTS, mixed mode, sharing)
Startup command:
java -classpath "/home/container/lib/slf4j-simple-2.0.7.jar" -Xms1024M -Xmx1024M -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar velocity.jar
You can ignore that for now. This will be fixed in a future version of Floodgate.