Skip to content
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

Error when requesting dcat of dataset #5

Open
GordianDziwis opened this issue Nov 13, 2018 · 0 comments
Open

Error when requesting dcat of dataset #5

GordianDziwis opened this issue Nov 13, 2018 · 0 comments

Comments

@GordianDziwis
Copy link
Collaborator

dcat import ckan --host=http://localhost:5000 --dataset=electric-bikesharing-stations > dcat.nt

gives:

2018-11-13 14:42:57,721 [main] INFO  org.aksw.dcat_suite.cli.main.MainCliDcatSuite: Importing dataset electric-bikesharing-stations
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/validator/routines/UrlValidator
	at org.aksw.jena_sparql_api.utils.model.NodeMapperFactory.lambda$static$0(NodeMapperFactory.java:17)
	at org.aksw.jena_sparql_api.utils.model.NodeMapperUriOrString.toNode(NodeMapperUriOrString.java:43)
	at org.aksw.jena_sparql_api.utils.model.NodeMapperUriOrString.toNode(NodeMapperUriOrString.java:17)
	at org.aksw.jena_sparql_api.utils.model.SetFromMappedPropertyValues.add(SetFromMappedPropertyValues.java:33)
	at org.aksw.dcat.jena.domain.api.DcatDistributionCore.replace(DcatDistributionCore.java:49)
	at org.aksw.dcat.jena.domain.api.DcatDistributionCore.setDownloadURL(DcatDistributionCore.java:44)
	at java.util.Optional.ifPresent(Optional.java:159)
	at org.aksw.ckan_deploy.core.DcatCkanRdfUtils.convertToDcat(DcatCkanRdfUtils.java:311)
	at org.aksw.ckan_deploy.core.DcatCkanRdfUtils.convertToDcat(DcatCkanRdfUtils.java:203)
	at org.aksw.ckan_deploy.core.DcatCkanRdfUtils.convertToDcat(DcatCkanRdfUtils.java:191)
	at org.aksw.dcat_suite.cli.main.MainCliDcatSuite.processCkanImport(MainCliDcatSuite.java:424)
	at org.aksw.dcat_suite.cli.main.MainCliDcatSuite.main(MainCliDcatSuite.java:275)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.validator.routines.UrlValidator
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 12 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant