I'm facing a problem using RDF4J, as I get "org.eclipse.rdf4j.rio.UnsupportedRDFormatException: Did not recognise RDF format object Turtle" error. Following https://stackoverflow.com/a/40920378/17731560 and https://stackoverflow.com/a/23364261/17731560 I reconfigured my Maven pom.xml file as follows:
<!-- Set a compiler level -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<!-- Copy project dependency -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.5.1</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<!-- exclude junit, we need runtime and system dependency only -->
<outputDirectory>${project.build.directory}/libs/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
In this way will my problem be solved? Thanks in advance, I'm new to Maven