oClassDefFoundError on "Bootstrapping ontology and mappings"

6 views
Skip to first unread message

Greg Soulsby

unread,
Feb 8, 2023, 12:41:05 AM2/8/23
to ontop4obda
From Protege Ontop I am running "Bootstrapping ontology and mappings"

It loads the Mappings, no problem. I was expecting something to do with the ontology, but see nothing. Running bootstrap from command CLI within a docker container running the CLI works fine. This is not as expected, right?

Environment: Protege Ontop version: Downloaded from https://sourceforge.net/projects/ontop4obda/files/ontop-5.0.1/
Database: Postgres running in docker container 


  ERROR  16:23:12  Uncaught Exception in thread 'AWT-EventQueue-0'
java.lang.NoClassDefFoundError: org/semanticweb/owlapi/model/axiomproviders/DeclarationAxiomProvider
    at it.unibz.inf.ontop.spec.mapping.util.MappingOntologyUtils.extractAndInsertDeclarationAxioms(MappingOntologyUtils.java:38) ~[na:na]
    at it.unibz.inf.ontop.protege.core.OBDAModel.insertTriplesMaps(OBDAModel.java:254) ~[na:na]
    at it.unibz.inf.ontop.protege.action.BootstrapAction$BootstrapWorker.done(BootstrapAction.java:182) ~[na:na]
    at java.desktop/javax.swing.SwingWorker$5.run(Unknown Source) ~[na:na]
    at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) ~[na:na]
    at java.desktop/sun.swing.AccumulativeRunnable.run(Unknown Source) ~[na:na]
    at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) ~[na:na]
    at java.desktop/javax.swing.Timer.fireActionPerformed(Unknown Source) ~[na:na]
    at java.desktop/javax.swing.Timer$DoPostEvent.run(Unknown Source) ~[na:na]
    at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventQueue$4.run(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventQueue$4.run(Unknown Source) ~[na:na]
    at java.base/java.security.AccessController.doPrivileged(Native Method) ~[na:na]
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) ~[na:na]
    at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) ~[na:na]

Guohui Xiao

unread,
Feb 8, 2023, 1:43:30 AM2/8/23
to Greg Soulsby, ontop4obda
Hi Greg,

Can you confirm that you are running **Protege in a Docker container**? 
This is not scenario we are supporting. Protege is a desktop application, and is not supposed to be run in a container.

Did you try to run Protege normally? I could not reproduce the problem when running it as a normal application.

Best regards,

Guohui

--
Please follow our guidelines on how to report a bug https://ontop-vkg.org/community/contributing/bug-report
---
You received this message because you are subscribed to the Google Groups "ontop4obda" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ontop4obda+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ontop4obda/52a45351-7251-4b7b-80f2-0d509693e063n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages