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

https://raw.githubusercontent.com/schemaorg/schemaorg/master/data/releases/3.4/schema.ttl #92

Closed
tendaikatsande opened this issue Aug 18, 2020 · 3 comments

Comments

@tendaikatsande
Copy link

/Users/munchdevs/Library/Java/JavaVirtualMachines/openjdk-14.0.2/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/munchdevs/Documents/FAIR/FAIRDataPoint "-Dmaven.home=/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3" "-Dclassworlds.conf=/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/bin/m2.conf" "-Dmaven.ext.class.path=/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven-event-listener.jar" "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=62163:/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds.license:/Applications/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.6.0.jar" org.codehaus.classworlds.Launcher -Didea.version=2020.2 -DskipTests=true install
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< nl.dtls:fairdatapoint >------------------------
[INFO] Building FairDataPoint 1.6.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- git-commit-id-plugin:2.2.4:revision (default) @ fairdatapoint ---
[INFO]
[INFO] --- git-commit-id-plugin:2.2.4:revision (get-the-git-infos) @ fairdatapoint ---
[INFO]
[INFO] --- rdf4j-generator-maven-plugin:0.2.0:generate (default) @ fairdatapoint ---
[INFO] Parsing https://sparontologies.github.io/datacite/current/datacite.ttl
[INFO] /Users/munchdevs/Documents/FAIR/FAIRDataPoint/target/generated-sources/nl/dtls/fairdatapoint/vocabulary/DATACITE.java already exists and overwrite is set to false, skipping
[INFO] Parsing https://raw.githubusercontent.com/re3data/ontology/master/r3dOntology.ttl
[INFO] /Users/munchdevs/Documents/FAIR/FAIRDataPoint/target/generated-sources/nl/dtls/fairdatapoint/vocabulary/R3D.java already exists and overwrite is set to false, skipping
[INFO] Parsing https://raw.githubusercontent.com/DTL-FAIRData/FDP-O/develop/fdp-ontology.owl
[INFO] /Users/munchdevs/Documents/FAIR/FAIRDataPoint/target/generated-sources/nl/dtls/fairdatapoint/vocabulary/FDP.java already exists and overwrite is set to false, skipping
[INFO] Parsing https://raw.githubusercontent.com/schemaorg/schemaorg/master/data/releases/3.4/schema.ttl
[INFO] Downloading https://raw.githubusercontent.com/schemaorg/schemaorg/master/data/releases/3.4/schema.ttl
[ERROR] Could not get file from https://raw.githubusercontent.com/schemaorg/schemaorg/master/data/releases/3.4/schema.ttl
java.io.FileNotFoundException: https://raw.githubusercontent.com/schemaorg/schemaorg/master/data/releases/3.4/schema.ttl
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0 (HttpURLConnection.java:1928)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:1528)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream (HttpsURLConnectionImpl.java:224)
at com.github.kburger.maven.rdf4j.generator.GeneratorMojo.getFileInputStream (GeneratorMojo.java:205)
at com.github.kburger.maven.rdf4j.generator.GeneratorMojo.execute (GeneratorMojo.java:136)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:564)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.971 s
[INFO] Finished at: 2020-08-19T00:19:09+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.kburger:rdf4j-generator-maven-plugin:0.2.0:generate (default) on project fairdatapoint: Could not get file from https://raw.githubusercontent.com/schemaorg/schemaorg/master/data/releases/3.4/schema.ttl -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

@kburger
Copy link
Contributor

kburger commented Aug 19, 2020

The schema.org repository changed their branch convention from master to main. This is fixed in our develop branch, but not yet published in our master branch.

You can switch your local clone to the develop branch, or hotfix it in your local master by changing the line https://github.com/FAIRDataTeam/FAIRDataPoint/blob/master/pom.xml#L342 from master to main.

@tendaikatsande
Copy link
Author

tendaikatsande commented Aug 21, 2020 via email

@MarekSuchanek
Copy link
Contributor

You probably do not have correctly configured MongoDB in your application.yml:

spring:
data:
mongodb:
uri: mongodb://mongo:27017/fdp

For example, if mongo is running on localhost and standard port, use mongodb://localhost:27017/fdp.

If the issue remains, please create a new separate one for "MongoDB connection problem".

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

3 participants