Menu

Firebird version too higher ?

Help
Kalan
2017-02-20
2017-02-20
  • Kalan

    Kalan - 2017-02-20

    Hi guys,

    I'm trying to use schemaSpy for generating a Data Physical Model of my firebird db but I encounter some problems.
    I use the command line below:

    java -jar schemaSpy_5.0.0.jar -t firebird -dp jaybird-jdk18-2.2.9.jar -db my_db -host localhost -u my_user -p my_pwd -o my_output_directory

    but I get this error:

    Using database properties:
    [schemaSpy_5.0.0.jar]/net/sourceforge/schemaspy/dbTypes/firebird.properties
    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/firebirds
    ql/jdbc/FBDriver : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at net.sourceforge.schemaspy.SchemaAnalyzer.getConnection(SchemaAnalyzer
    .java:543)
    at net.sourceforge.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:
    157)
    at net.sourceforge.schemaspy.Main.main(Main.java:42)

    Should I suppose that my firebird version is too higher ?
    Has anyone already got this issue?
    Thanks in advance for your help.

    Kalan8

     
  • Kalan

    Kalan - 2017-02-20

    OK my bad, guys. I executed that with an older version of Java (v1.7) that's the reason why I got this error.

    But I can't execute correctly the command after fixing this issue, now I encounter this error:

    Exception in thread "main" java.lang.NoClassDefFoundError: javax/resource/Resour
    ceException

    I certainly make something wrong (stupid something) but I don't know that it is.

     

    Last edit: Kalan 2017-02-20
  • Rafal Kasa

    Rafal Kasa - 2017-03-05

    Hi Kalan

    You can try new SchemaSpy version if you will have the same issue please create ticket on github.
    https://github.com/schemaspy/schemaspy

    On above link you will find new code home for SchemaSpy project.

     

Log in to post a comment.