【问题标题】:Not able to use schemacrawler.无法使用架构爬虫。
【发布时间】:2014-05-22 11:46:29
【问题描述】:

我已经关注了这个链接,http://schemacrawler.sourceforge.net/bundled.html

我正在使用 Oracle 11g 数据库,

根据文档,我已经为 Oracle 下载了捆绑包,并为其下载了 ojdbc 驱动程序(ojdbc.6.jar)并将其放在 lib 文件夹中, 然后触发命令:-

-host=xxx -port=xxx -database=xxx -user=xxx -password=xxx

但它不起作用。

对于 unix,它的抛出错误:-

-bash: -host=xxx: command not found

当我触发命令时:-

java -classpath lib/*:. schemacrawler.tools.oracle.Main $* -host=xxx -port=xxx -database=xxx -user=xxx  -password=xxx

它抛出错误:-

schemacrawler.schemacrawler.SchemaCrawlerException: No command specified
    at schemacrawler.tools.commandline.SchemaCrawlerCommandLine.<init>(SchemaCrawlerCommandLine.java:88)
    at schemacrawler.tools.commandline.SchemaCrawlerCommandLine.<init>(SchemaCrawlerCommandLine.java:62)
    at schemacrawler.tools.commandline.SchemaCrawlerMain.main(SchemaCrawlerMain.java:76)
    at schemacrawler.tools.oracle.Main.main(Main.java:44)

请帮忙解决

【问题讨论】:

    标签: java oracle bash unix schemacrawler


    【解决方案1】:

    要获得有关如何使用 SchemaCrawler for Oracle 的帮助,请使用以下命令:

    java -classpath lib/*:. schemacrawler.tools.oracle.Main
    

    Sualeh Fatehi,SchemaCrawler

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多