Closed tendaikatsande closed 3 years ago
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
.
Thank you i managed to go past that.... now i have this error Caused by: java.net.UnknownHostException: mongo: nodename nor servname provided, or not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:?] at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:932) ~[?:?] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1505) ~[?:?] at java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:851) ~[?:?] at java.net.InetAddress.getAllByName0(InetAddress.java:1495) ~[?:?] at java.net.InetAddress.getAllByName(InetAddress.java:1354) ~[?:?] at java.net.InetAddress.getAllByName(InetAddress.java:1288) ~[?:?] at com.mongodb.ServerAddress.getSocketAddresses(ServerAddress.java:203) ~[mongodb-driver-core-3.11.2.jar:?]
From: kburger notifications@github.com Sent: Wednesday, August 19, 2020 8:45 AM To: FAIRDataTeam/FAIRDataPoint FAIRDataPoint@noreply.github.com Cc: tendaikatsande tendaikatsande@live.com; Author author@noreply.github.com Subject: Re: [FAIRDataTeam/FAIRDataPoint] https://raw.githubusercontent.com/schemaorg/schemaorg/master/data/releases/3.4/schema.ttl (#92)
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/FAIRDataTeam/FAIRDataPoint/issues/92#issuecomment-675885498, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGFG5QVIVLPG6TDP6AECQ6LSBNYJ3ANCNFSM4QEGTEPA.
You probably do not have correctly configured MongoDB in your application.yml
: https://github.com/FAIRDataTeam/FAIRDataPoint/blob/9a6c5375f34d4fdc192c3a345c5fad34530cb8e9/src/main/resources/application.yml#L4-L7
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".
/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