pipauwel / IFCtoRDF

IFCtoRDF is a set of reusable Java components that allows to parse IFC-SPF files and convert them into RDF graphs.
Other
83 stars 31 forks source link

Error man package #17

Closed bbrangeo closed 4 years ago

bbrangeo commented 5 years ago

Hello, When i try to compile your IFCtoRDF project with maven, i got this error

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

AND

[ERROR] testConvertIFCFileToOutputTTL(be.ugent.TestIfcSpfReader) Time elapsed: 3.065 s <<< ERROR! org.apache.jena.ontology.ConversionException: Cannot convert node https://w3id.org/express#STRING to OntClass: it does not have rdf:type owl:Class or equivalent at be.ugent.TestIfcSpfReader.testConvertIFCFileToOutputTTL(TestIfcSpfReader.java:113)

Thanks

lewismc commented 5 years ago

Which version of JDK are you using?

On Mon, Aug 19, 2019 at 20:07 Boris Brangeon notifications@github.com wrote:

Hello, When i try to compile your IFCtoRDF project with maven, i got this error

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

AND

[ERROR] testConvertIFCFileToOutputTTL(be.ugent.TestIfcSpfReader) Time elapsed: 3.065 s <<< ERROR! org.apache.jena.ontology.ConversionException: Cannot convert node https://w3id.org/express#STRING to OntClass: it does not have rdf:type owl:Class or equivalent at be.ugent.TestIfcSpfReader.testConvertIFCFileToOutputTTL(TestIfcSpfReader.java:113)

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pipauwel/IFCtoRDF/issues/17?email_source=notifications&email_token=AAI4TF6AX7AV4PXULDQQHN3QFNNYTA5CNFSM4INMU5JKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGEGRHA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAI4TFYPQJJAFZYZX3ZW6O3QFNNYTANCNFSM4INMU5JA .

--

Lewis Dr. Lewis J. McGibbney Ph.D, B.Sc Skype: lewis.john.mcgibbney

pipauwel commented 4 years ago

I suspect that this issue was related to the certificate that was missing on the https://w3id.org/express# namespace. This namespace redirects to https://pi.pauwel.be/evoc/express_W3ID/20151211/index.html#, and an SSL certificate has been added by now to this location (last summer already), enabling the required HTTPS URI.

As a result, this error should be resolved by now. I can in any case not reproduce the error. Should you still have this error, @bbrangeo, please re-open the issue and document more.