-
Notifications
You must be signed in to change notification settings - Fork 306
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
Driver Error #1414
Comments
What The error seems to indicate that the driver is split into multiple jars. Driver has dependencies and they are not loaded. All required driver jars can be put in a folder and that folder can be specified with |
java -jar schemaspy-6.2.4.jar -t ora -dp E:\oracle\product\19.0.0.0\dbhome_1\jdbc\lib -host 1..... i see this "ojdbc8dms " and other files at this location |
I'm not an Oracle expert and the support for Oracle was added before I joined. But there are two different configurations and 1 sub configuration So there is the I've used the thin with just a single downloaded jar file. But I'll see if I can do a little research on the std ora option. |
I tried above options but still same issue |
We have automatic test that we run against oracle. We use the thin driver downloaded from maven central https://search.maven.org/artifact/com.oracle.database.jdbc/ojdbc8/21.1.0.0/jar And we have the following basic config when running SchemaSpy.
|
this new driver with cat % helped. thanks a lot. i could able to generate report. |
Sorry for wrong update: i see diagrams. It will be great help if you can tell me how can i fix this "cell size too small for content" |
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
Please help to resolve below error:
INFO - Starting schema analysis
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52)
Caused by: java.lang.NoClassDefFoundError: oracle/dms/console/DMSConsole
at oracle.jdbc.driver.DMSFactory.(DMSFactory.java:48)
at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:1742)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:868)
at oracle.jdbc.driver.T2CConnection.(T2CConnection.java:228)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:56)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:828)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:628)
at org.schemaspy.input.dbms.DbDriverLoader.getConnection(DbDriverLoader.java:123)
at org.schemaspy.input.dbms.service.SqlService.connect(SqlService.java:69)
at org.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:244)
at org.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:135)
at org.schemaspy.cli.SchemaSpyRunner.runAnalyzer(SchemaSpyRunner.java:109)
at org.schemaspy.cli.SchemaSpyRunner.run(SchemaSpyRunner.java:98)
at org.schemaspy.Main.main(Main.java:55)
... 8 more
The text was updated successfully, but these errors were encountered: