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
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". #179
Comments
A note on "dot" not being found:
I checked and the GraphViz\bin directory was not on the path. So I added it, confirmed it was working:
and ran schemacrawler.cmd again. It still cannot find |
The SLF4J warning is spurious, and not related to dot not being found. Did you open a new ConEmu window after adding the Graphviz bin directory to the path? If this is still not working, you can try the following workaround:
|
Phil, did that work for you? |
Hi @sualeh , I actually like your suggestion of That works like a champ! Thanks. |
I am glad you have a workaround, and thanks for closing the issue. However, I am curious if you ever got SchemaCrawler to call |
Ran ...
|
Environment
Specify the
version of SchemaCrawler that you are using
schemacrawler-14.20.04-distribution
version of Java that you are using
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
operating system and version that you are using
Windows 10 Version 1709 (OS Build 16299.371) 64-bit
relational datavase and version that you are using
MySQL 5.7.21 (AWS RDS)
JDBC driver and version that you are using
04/19/2018 02:04 PM 825,389 mssql-jdbc-6.2.2.jre8.jar
04/19/2018 02:04 PM 2,001,778 mysql-connector-java-6.0.6.jar
(came with SchemaCrawler release)
Other relevant libraries:
03/16/2017 09:36 AM 41,203 slf4j-api-1.7.25-jar.jar
(came with SchemaCrawler release)
01/14/2018 11:09 AM 993,917 graphviz-java-0.2.3-jar.jar
01/14/2018 11:09 AM 661,033 graphviz-java-0.2.3-source.jar
(downloaded the GraphViz native Java libraries using the SchemaCrawler download tool.)
Issue
Please explain the issue briefly
screen.zip
schemacrawler.cmd -server=mysql -database=foo_db -host=barbaz.rds.amazonaws.com -port=3306 -user=theuser -infolevel=standard -command=schema -portablenames -title "Blah" -Gdpi=300 -outputformat=png -outputfile=graph.png -loglevel=ALL
schemacrawler.cmd file:
@java -classpath "%~dp0/lib/*";"%~dp0/config";. -Xmx8G -Xms8G schemacrawler.Main %*
-loglevel=ALL
on the command-line argumentderby.log ends up with 0KB.
I've attached a sanitized screen capture -- at least for the 1000 lines ConEmu goes back. You'll see an IOException for program "dot" that it cannot find the file. However, a PNG file is created showing the tables as UML blocks...but it seems to be missing some of the foreign-key relationships. This IOException does not appear when the same command is run without the
-loglevel=ALL
command.The text was updated successfully, but these errors were encountered: