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

Installing floodgate-mysql-database creates SLF4J errors on startup (Velocity) #424

Open
RalphORama opened this issue Jun 27, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@RalphORama
Copy link

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
@Tim203
Copy link
Member

Tim203 commented Jul 18, 2023

You can ignore that for now. This will be fixed in a future version of Floodgate.

@Tim203 Tim203 added the bug Something isn't working label Feb 14, 2024
@Tim203 Tim203 added this to the Floodgate 3.0 milestone Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants