-
Notifications
You must be signed in to change notification settings - Fork 52
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
NoClassDefFoundError: org/citydb/gui/plugin/view/ViewExtension when running the Importer/Exporter CLI #285
Comments
Workaround: This is unexpected, as I am working in a shell environment and should not require the GUI version to run the import. |
Seems like you have a plugin in your Btw, I recommend starting the CLI using the |
Thank you very much for your helpful reply! It makes sense that a plugin requiring a GUI could have caused the issue when using the CLI. Turns out, I was following some older documentation, which is where I got the lib folder usage from... Have a nice day! |
Added proper log messages in case a plugin cannot be loaded through #287 |
Describe the bug:
When attempting to use the Importer/Exporter command line interface (version 5.3.0), a java.lang.NoClassDefFoundError is thrown with the message org/citydb/gui/plugin/view/ViewExtension.
To Reproduce:
Steps to reproduce the behavior:
Run the following command:
java -jar lib/impexp-client-cli-5.3.0.jar import --duplicate-log=/mnt/data/temp/3dcitydb/duplicate.log --import-log=/mnt/data/temp/import.log --input-encoding=utf-8 --log-file=/mnt/data/temp/3dcitydb/logfile.log --log-level=info --import-mode=import_all --worker-threads=16 --db-type=postgresql --db-host=localhost --db-port=5434 --db-name=3DCITYDB --db-schema=citydb --db-username=***** --db-password=***** /mnt/data/temp/3dcitydb/hh/
See error:
Expected behavior:
The Importer/Exporter should start and load the plugins without any exceptions.
Environment (please complete the following information):
OS: Ubuntu Server 22.04
Java version: OpenJDK 11
Database: PostgreSQL 15]
The text was updated successfully, but these errors were encountered: