1 year ago

#369765

test-img

J. Doe

Jena Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile (default-compile) on project jena-iri: Fatal error compiling

I try to use Apache Jena with eclipse on my machine. I'm following the official documentation:

https://jena.apache.org/tutorials/using_jena_with_eclipse.html

Which links to https://jena.apache.org/getting_involved/index.html

with the steps:

  1. git clone https://github.com/apache/jena.git
  2. cd jena
  3. mvn clean install

But I get following error on "mvn clean install"

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile (default-compile) on project jena-iri: Fatal error compiling: invalid flag: --release -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :jena-iri

this is what C:/Users/user/apache-maven-3.8.5/bin/mvn -v gives me

Maven home: C:\Users\user\apache-maven-3.8.5
Java version: 1.8.0_312, vendor: Temurin, runtime: C:\Program Files\Eclipse Adoptium\jdk-8.0.312.7-hotspot\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

I don't habe admin rights on this computer

java

maven

jena

0 Answers

Your Answer

Accepted video resources